public class SecurityAssertionImpl extends Object implements SecurityAssertion
| Constructor and Description |
|---|
SecurityAssertionImpl()
Uninitialized Constructor
|
SecurityAssertionImpl(org.apache.cxf.ws.security.tokenstore.SecurityToken securityToken)
Constructor without usernameAttributeList
|
SecurityAssertionImpl(org.apache.cxf.ws.security.tokenstore.SecurityToken securityToken,
List<String> usernameAttributeList)
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<org.opensaml.saml.saml2.core.AttributeStatement> |
getAttributeStatements()
Returns the list of attribute statements contained in the SecurityToken
|
List<org.opensaml.saml.saml2.core.AuthnStatement> |
getAuthnStatements()
Returns the list of authn statements contained in the SecurityToken
|
List<org.opensaml.saml.saml2.core.AuthzDecisionStatement> |
getAuthzDecisionStatements()
Returns the list of authz statements contained in the SecurityToken
|
String |
getIssuer()
Returns the name of the entity that issued the SecurityToken
|
Date |
getNotBefore()
Returns the earliest date that the assertion is valid
|
Date |
getNotOnOrAfter()
Returns the date that the assertion is invalid
|
Principal |
getPrincipal()
Returns the Principal contained within the SecurityToken
|
Set<Principal> |
getPrincipals()
Returns primary principal and all attributes as principals
|
org.apache.cxf.ws.security.tokenstore.SecurityToken |
getSecurityToken()
Returns the underlying SecurityToken that this object wraps
|
List<String> |
getSubjectConfirmations()
Returns the list of subject confirmations contained in the SecurityToken
|
String |
getTokenType()
Returns the token type URI for this assertion
|
boolean |
isPresentlyValid()
Returns true if checked while within the time bounds defined by NotBefore and NotOnOrAfter
|
String |
toString()
Returns a String representation of this Assertion
|
public SecurityAssertionImpl()
public SecurityAssertionImpl(org.apache.cxf.ws.security.tokenstore.SecurityToken securityToken)
securityToken - - token to wrappublic Principal getPrincipal()
SecurityAssertiongetPrincipal in interface SecurityAssertionpublic Set<Principal> getPrincipals()
SecurityAssertiongetPrincipals in interface SecurityAssertionpublic String getIssuer()
SecurityAssertiongetIssuer in interface SecurityAssertionpublic List<org.opensaml.saml.saml2.core.AttributeStatement> getAttributeStatements()
SecurityAssertiongetAttributeStatements in interface SecurityAssertionpublic List<org.opensaml.saml.saml2.core.AuthnStatement> getAuthnStatements()
SecurityAssertiongetAuthnStatements in interface SecurityAssertionpublic List<org.opensaml.saml.saml2.core.AuthzDecisionStatement> getAuthzDecisionStatements()
SecurityAssertiongetAuthzDecisionStatements in interface SecurityAssertionpublic List<String> getSubjectConfirmations()
SecurityAssertiongetSubjectConfirmations in interface SecurityAssertionpublic String getTokenType()
SecurityAssertiongetTokenType in interface SecurityAssertionpublic org.apache.cxf.ws.security.tokenstore.SecurityToken getSecurityToken()
SecurityAssertiongetSecurityToken in interface SecurityAssertionpublic Date getNotBefore()
SecurityAssertiongetNotBefore in interface SecurityAssertionpublic Date getNotOnOrAfter()
SecurityAssertiongetNotOnOrAfter in interface SecurityAssertionpublic String toString()
SecurityAssertiontoString in interface SecurityAssertiontoString in class Objectpublic boolean isPresentlyValid()
SecurityAssertionisPresentlyValid in interface SecurityAssertionThis work is licensed under a Creative Commons Attribution 4.0 International License.