|
Spring Security SAML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.saml.SAMLAuthenticationToken
public class SAMLAuthenticationToken
SAML Token is used to pass SAMLContext object through to the SAML Authentication provider.
Constructor Summary | |
---|---|
SAMLAuthenticationToken(SAMLMessageContext credentials)
Default constructor initializing the context |
Method Summary | |
---|---|
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. |
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken |
---|
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SAMLAuthenticationToken(SAMLMessageContext credentials)
credentials
- SAML context object created after decodingMethod Detail |
---|
public SAMLMessageContext getCredentials()
public Object getPrincipal()
public void setAuthenticated(boolean isAuthenticated) throws IllegalArgumentException
setAuthenticated
in interface org.springframework.security.core.Authentication
setAuthenticated
in class org.springframework.security.authentication.AbstractAuthenticationToken
isAuthenticated
- only false value allowed
IllegalArgumentException
- if isAuthenticated is true
|
Spring Security SAML | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |