|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.acegisecurity.providers.AbstractAuthenticationToken
de.theit.hudson.crowd.CrowdAuthenticationToken
public class CrowdAuthenticationToken
This class represents an authentication token that is created after a user was successfully authenticated against the remote Crowd server.
| Constructor Summary | |
|---|---|
CrowdAuthenticationToken(String pPrincipal,
String pCredentials,
List<org.acegisecurity.GrantedAuthority> authorities)
Creates a new authorization token. |
|
CrowdAuthenticationToken(String pPrincipal,
String pCredentials,
List<org.acegisecurity.GrantedAuthority> authorities,
String pSsoToken,
String pDisplayName)
Creates a new authorization token. |
|
| Method Summary | |
|---|---|
String |
getCredentials()
|
String |
getName()
|
String |
getPrincipal()
|
String |
getSSOToken()
Returns the SSO token. |
| Methods inherited from class org.acegisecurity.providers.AbstractAuthenticationToken |
|---|
equals, getAuthorities, getDetails, hashCode, isAuthenticated, setAuthenticated, setDetails, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CrowdAuthenticationToken(String pPrincipal,
String pCredentials,
List<org.acegisecurity.GrantedAuthority> authorities)
pPrincipal - The name of the authenticated Crowd user. May not be
null.pCredentials - The credentials. Normally the users password. May not be
null.authorities - The list of granted authorities for the user. May not be
null.
public CrowdAuthenticationToken(String pPrincipal,
String pCredentials,
List<org.acegisecurity.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.| Method Detail |
|---|
public String getCredentials()
Authentication.getCredentials()public String getPrincipal()
Authentication.getPrincipal()public String getSSOToken()
null if the token is not (yet)
available.public String getName()
getName in interface PrincipalgetName in class org.acegisecurity.providers.AbstractAuthenticationTokenAbstractAuthenticationToken.getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||