public class CrowdAuthenticationToken
extends org.springframework.security.providers.AbstractAuthenticationToken
| Constructor and Description |
|---|
CrowdAuthenticationToken(String pPrincipal,
String pCredentials,
List<org.springframework.security.GrantedAuthority> authorities,
String pSsoToken,
String pDisplayName)
Creates a new authorization token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCredentials() |
String |
getPrincipal() |
String |
getSSOToken()
Returns the SSO token.
|
public CrowdAuthenticationToken(String pPrincipal, String pCredentials, List<org.springframework.security.GrantedAuthority> authorities, String pSsoToken, String pDisplayName)
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.pDisplayName - The display name of the user. May be null.public String getCredentials()
Authentication.getCredentials()public String getPrincipal()
Authentication.getPrincipal()public String getSSOToken()
null if the token is not (yet)
available.Copyright © 2004-2014 Hudson. All Rights Reserved.