Package ddf.security.assertion.saml.impl
Class SecurityAssertionSaml
java.lang.Object
ddf.security.assertion.saml.impl.SecurityAssertionSaml
- All Implemented Interfaces:
ddf.security.assertion.SecurityAssertion,Serializable
public class SecurityAssertionSaml
extends Object
implements ddf.security.assertion.SecurityAssertion
Implementation of the SecurityAssertion interface. This class wraps a SecurityToken.
- Author:
- tustisos
- See Also:
-
Field Summary
FieldsFields inherited from interface ddf.security.assertion.SecurityAssertion
IDP_AUTH_WEIGHT, LOCAL_AUTH_WEIGHT, NO_AUTH_WEIGHT -
Constructor Summary
ConstructorsConstructorDescriptionUninitialized ConstructorSecurityAssertionSaml(Element samlAssertion) Constructor without usernameAttributeListSecurityAssertionSaml(Element samlAssertion, List<String> usernameAttributeList) Default Constructor -
Method Summary
-
Field Details
-
SAML1_TOKEN_TYPE
- See Also:
-
SAML2_TOKEN_TYPE
- See Also:
-
-
Constructor Details
-
SecurityAssertionSaml
public SecurityAssertionSaml()Uninitialized Constructor -
SecurityAssertionSaml
Constructor without usernameAttributeList- Parameters:
samlAssertion- - token to wrap
-
SecurityAssertionSaml
Default Constructor- Parameters:
samlAssertion- - token to wrapusernameAttributeList- - configurable list of attributes
-
-
Method Details
-
getPrincipal
- Specified by:
getPrincipalin interfaceddf.security.assertion.SecurityAssertion
-
getPrincipals
- Specified by:
getPrincipalsin interfaceddf.security.assertion.SecurityAssertion
-
getIssuer
- Specified by:
getIssuerin interfaceddf.security.assertion.SecurityAssertion
-
getAttributeStatements
- Specified by:
getAttributeStatementsin interfaceddf.security.assertion.SecurityAssertion
-
getAuthnStatements
- Specified by:
getAuthnStatementsin interfaceddf.security.assertion.SecurityAssertion
-
getSubjectConfirmations
- Specified by:
getSubjectConfirmationsin interfaceddf.security.assertion.SecurityAssertion
-
getTokenType
- Specified by:
getTokenTypein interfaceddf.security.assertion.SecurityAssertion
-
getToken
- Specified by:
getTokenin interfaceddf.security.assertion.SecurityAssertion
-
getNotBefore
- Specified by:
getNotBeforein interfaceddf.security.assertion.SecurityAssertion
-
getNotOnOrAfter
- Specified by:
getNotOnOrAfterin interfaceddf.security.assertion.SecurityAssertion
-
toString
-
getWeight
public int getWeight()- Specified by:
getWeightin interfaceddf.security.assertion.SecurityAssertion
-
isPresentlyValid
public boolean isPresentlyValid()- Specified by:
isPresentlyValidin interfaceddf.security.assertion.SecurityAssertion
-