| java.lang.Object org.acegisecurity.providers.AbstractAuthenticationToken
All known Subclasses: org.acegisecurity.adapters.AbstractAdapterAuthenticationToken, org.acegisecurity.providers.anonymous.AnonymousAuthenticationToken, org.acegisecurity.providers.UsernamePasswordAuthenticationToken, org.acegisecurity.providers.openid.OpenIDAuthenticationToken, org.acegisecurity.runas.RunAsUserToken, org.acegisecurity.providers.portlet.PortletAuthenticationToken, org.acegisecurity.providers.TestingAuthenticationToken, org.acegisecurity.MockRunAsAuthenticationToken, org.acegisecurity.providers.x509.X509AuthenticationToken, org.acegisecurity.providers.rememberme.RememberMeAuthenticationToken, org.acegisecurity.providers.cas.CasAuthenticationToken,
AbstractAuthenticationToken | abstract public class AbstractAuthenticationToken implements Authentication(Code) | | Base class for Authentication objects.Implementations which use this class should be immutable.
author: Ben Alex author: Luke Taylor version: $Id: AbstractAuthenticationToken.java 1496 2006-05-23 13:38:33Z benalex $ |
Constructor Summary | |
public | AbstractAuthenticationToken() Retained for compatibility with subclasses written before the
AbstractAuthenticationToken(GrantedAuthority[]) constructor
was introduced. | public | AbstractAuthenticationToken(GrantedAuthority[] authorities) Creates a token with the supplied array of authorities.
Parameters: authorities - the list of GrantedAuthoritys for theprincipal represented by this authentication object. |
AbstractAuthenticationToken | public AbstractAuthenticationToken()(Code) | | Retained for compatibility with subclasses written before the
AbstractAuthenticationToken(GrantedAuthority[]) constructor
was introduced.
|
AbstractAuthenticationToken | public AbstractAuthenticationToken(GrantedAuthority[] authorities)(Code) | | Creates a token with the supplied array of authorities.
Parameters: authorities - the list of GrantedAuthoritys for theprincipal represented by this authentication object. Anull value indicates that no authorities have beengranted (pursuant to the interface contract specified by Authentication.getAuthoritiesnull should only bepresented if the principal has not been authenticated). |
hashCode | public int hashCode()(Code) | | |
isAuthenticated | public boolean isAuthenticated()(Code) | | |
setAuthenticated | public void setAuthenticated(boolean authenticated)(Code) | | |
|
|