public final class ClientAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
Credentials
), a client name and an user profile ( UserProfile
).Constructor and Description |
---|
ClientAuthenticationToken(org.pac4j.core.credentials.Credentials credentials,
String clientName) |
ClientAuthenticationToken(org.pac4j.core.credentials.Credentials credentials,
String clientName,
org.pac4j.core.profile.UserProfile userProfile,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
Modifier and Type | Method and Description |
---|---|
String |
getClientName() |
Object |
getCredentials() |
Object |
getPrincipal() |
org.pac4j.core.profile.UserProfile |
getUserProfile() |
public ClientAuthenticationToken(org.pac4j.core.credentials.Credentials credentials, String clientName)
public ClientAuthenticationToken(org.pac4j.core.credentials.Credentials credentials, String clientName, org.pac4j.core.profile.UserProfile userProfile, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Copyright © 2013. All Rights Reserved.