public class CrowdAuthenticationToken
extends org.acegisecurity.providers.AbstractAuthenticationToken
| Constructor and Description |
|---|
CrowdAuthenticationToken(String pPrincipal,
String pCredentials,
List<org.acegisecurity.GrantedAuthority> authorities,
String pSsoToken)
Creates a new authorization token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials() |
String |
getName() |
org.acegisecurity.userdetails.UserDetails |
getPrincipal() |
String |
getSSOToken()
Returns the SSO token.
|
static void |
updateUserInfo(com.atlassian.crowd.model.user.User user) |
equals, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toStringpublic CrowdAuthenticationToken(String pPrincipal, String pCredentials, List<org.acegisecurity.GrantedAuthority> authorities, String pSsoToken)
pPrincipal - The name of the authenticated Crowd user. May not be
null.pCredentials - The credentials. Normally the users password. May only be
null when the SSO token is given.authorities - The list of granted authorities for the user. May not be
null.pSsoToken - The Crowd SSO token. May be null if the token is
not (yet) available.public String getCredentials()
Authentication.getCredentials()public org.acegisecurity.userdetails.UserDetails getPrincipal()
Authentication.getPrincipal()public String getSSOToken()
null if the token is not (yet)
available.public String getName()
public static void updateUserInfo(com.atlassian.crowd.model.user.User user)
Copyright © 2016–2018. All rights reserved.