public class OpenIDAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
| Constructor and Description |
|---|
OpenIDAuthenticationToken(Object principal,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
String identityUrl,
List<OpenIDAttribute> attributes)
Created by the OpenIDAuthenticationProvider on successful authentication.
|
OpenIDAuthenticationToken(OpenIDAuthenticationStatus status,
String identityUrl,
String message,
List<OpenIDAttribute> attributes) |
| Modifier and Type | Method and Description |
|---|---|
List<OpenIDAttribute> |
getAttributes() |
Object |
getCredentials()
Returns 'null' always, as no credentials are processed by the OpenID provider.
|
String |
getIdentityUrl() |
String |
getMessage() |
Object |
getPrincipal()
Returns the principal value.
|
OpenIDAuthenticationStatus |
getStatus() |
String |
toString() |
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetailspublic OpenIDAuthenticationToken(OpenIDAuthenticationStatus status, String identityUrl, String message, List<OpenIDAttribute> attributes)
public OpenIDAuthenticationToken(Object principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String identityUrl, List<OpenIDAttribute> attributes)
principal - usually the UserDetails returned by the the configured
UserDetailsService used by the OpenIDAuthenticationProvider.public Object getCredentials()
Authentication.getCredentials()public String getIdentityUrl()
public String getMessage()
public Object getPrincipal()
Authentication.getPrincipal()public OpenIDAuthenticationStatus getStatus()
public List<OpenIDAttribute> getAttributes()