public class AuthTokenAuthentication extends Object implements org.springframework.security.Authentication
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.security.GrantedAuthority[] |
authorities |
protected AuthToken |
authToken |
protected Object |
details |
static String |
ISPI |
static String |
KCID |
protected String |
name |
protected Object |
principal |
protected Signature |
signature |
| Constructor and Description |
|---|
AuthTokenAuthentication(AuthToken token) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.GrantedAuthority[] |
getAuthorities() |
Object |
getCredentials() |
Object |
getDetails() |
String |
getName()
Returns the validated user ID if the token is valid.
|
Object |
getPrincipal() |
boolean |
isAuthenticated()
Reports whether the token is valid and hence whether the user name should be trusted.
|
void |
setAuthenticated(boolean authenticated)
This call may only be used with the parameter 'false' in order to invalidate authentication.
|
void |
setAuthorities(org.springframework.security.GrantedAuthority[] authorities) |
void |
setDetails(Object details) |
void |
setName(String name) |
void |
setPrincipal(Object principal) |
protected transient Signature signature
protected transient AuthToken authToken
protected transient String name
protected transient org.springframework.security.GrantedAuthority[] authorities
protected transient Object details
protected transient Object principal
public static final String ISPI
public static final String KCID
public AuthTokenAuthentication(AuthToken token)
public final boolean isAuthenticated()
isAuthenticated in interface org.springframework.security.Authenticationpublic final String getName()
public final void setName(String name)
public org.springframework.security.GrantedAuthority[] getAuthorities()
getAuthorities in interface org.springframework.security.Authenticationpublic void setAuthorities(org.springframework.security.GrantedAuthority[] authorities)
public Object getCredentials()
getCredentials in interface org.springframework.security.Authenticationpublic void setDetails(Object details)
public Object getDetails()
getDetails in interface org.springframework.security.Authenticationpublic void setPrincipal(Object principal)
public Object getPrincipal()
getPrincipal in interface org.springframework.security.Authenticationpublic void setAuthenticated(boolean authenticated)
throws IllegalArgumentException
setAuthenticated in interface org.springframework.security.AuthenticationIllegalArgumentExceptionCopyright © 2015 KualiCo. All rights reserved.