Package org.codice.ddf.security.handler
Class SAMLAuthenticationToken
java.lang.Object
org.codice.ddf.security.handler.BaseAuthenticationToken
org.codice.ddf.security.handler.SAMLAuthenticationToken
- All Implemented Interfaces:
Serializable,org.apache.shiro.authc.AuthenticationToken
- See Also:
-
Field Summary
Fields inherited from class org.codice.ddf.security.handler.BaseAuthenticationToken
allowGuest, credentials, ip, principal -
Constructor Summary
ConstructorsConstructorDescriptionSAMLAuthenticationToken(Object principal, org.apache.shiro.subject.PrincipalCollection token, String ip) Constructor that only allows SecurityToken objects to be used as the credentials. -
Method Summary
Modifier and TypeMethodDescriptionReturns the SAML token as a DOM Element.Methods inherited from class org.codice.ddf.security.handler.BaseAuthenticationToken
getAllowGuest, getCredentials, getIpAddress, getPrincipal, getRequestURI, getType, getX509Certs, setAllowGuest, setCredentials, setRequestURI, setType, setX509Certs
-
Constructor Details
-
Method Details
-
getSAMLTokenAsElement
Returns the SAML token as a DOM Element.- Returns:
- the SAML token as a DOM element or null if it doesn't exist
-
getCredentialsAsString
- Overrides:
getCredentialsAsStringin classBaseAuthenticationToken
-