public class SAMLAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
| Constructor and Description |
|---|
SAMLAuthenticationToken(SAMLMessageContext credentials)
Default constructor initializing the context
|
| Modifier and Type | Method and Description |
|---|---|
SAMLMessageContext |
getCredentials()
Returns the stored SAML context
|
Object |
getPrincipal()
Always null
|
void |
setAuthenticated(boolean isAuthenticated)
This object can never be authenticated, call with true result in exception.
|
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringpublic SAMLAuthenticationToken(SAMLMessageContext credentials)
credentials - SAML context object created after decodingpublic SAMLMessageContext getCredentials()
public Object getPrincipal()
public void setAuthenticated(boolean isAuthenticated)
throws IllegalArgumentException
setAuthenticated in interface org.springframework.security.core.AuthenticationsetAuthenticated in class org.springframework.security.authentication.AbstractAuthenticationTokenisAuthenticated - only false value allowedIllegalArgumentException - if isAuthenticated is true