Class IssuedTokenAssertionState
java.lang.Object
org.apache.wss4j.policy.AssertionState
org.apache.wss4j.policy.stax.assertionStates.TokenAssertionState
org.apache.wss4j.policy.stax.assertionStates.IssuedTokenAssertionState
- All Implemented Interfaces:
Assertable
WSP1.3, 5.4.2 IssuedToken Assertion
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wss4j.policy.AssertionState
org.apache.wss4j.policy.AssertionState.State -
Constructor Summary
ConstructorsConstructorDescriptionIssuedTokenAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanassertToken(org.apache.xml.security.stax.securityEvent.TokenSecurityEvent<? extends org.apache.xml.security.stax.securityToken.SecurityToken> tokenSecurityEvent, org.apache.wss4j.policy.model.AbstractToken abstractToken) protected StringcheckIssuedTokenTemplate(Element template, org.apache.wss4j.stax.securityEvent.SamlTokenSecurityEvent samlTokenSecurityEvent) Check the issued token template against the received assertionprotected StringfindClaimInAssertion(org.apache.wss4j.common.saml.SamlAssertionWrapper samlAssertionWrapper, URI claimURI) protected StringfindClaimInAssertion(org.opensaml.saml.saml1.core.Assertion assertion, URI claimURI) protected StringfindClaimInAssertion(org.opensaml.saml.saml2.core.Assertion assertion, URI claimURI) org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[]protected StringvalidateClaims(Element claimsPolicy, org.apache.wss4j.stax.securityEvent.SamlTokenSecurityEvent samlTokenSecurityEvent) Methods inherited from class org.apache.wss4j.policy.stax.assertionStates.TokenAssertionState
assertEvent, getPolicyAsserter, hasDerivedKeys, isInitiatorMethods inherited from class org.apache.wss4j.policy.AssertionState
clearErrorMessage, getAssertion, getErrorMessage, isAsserted, isHardFailure, isLogged, setAsserted, setErrorMessage, setLoggedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wss4j.policy.stax.Assertable
getErrorMessage, isAsserted, isHardFailure, isLogged, setLogged
-
Constructor Details
-
IssuedTokenAssertionState
public IssuedTokenAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator)
-
-
Method Details
-
getSecurityEventType
public org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[] getSecurityEventType() -
assertToken
public boolean assertToken(org.apache.xml.security.stax.securityEvent.TokenSecurityEvent<? extends org.apache.xml.security.stax.securityToken.SecurityToken> tokenSecurityEvent, org.apache.wss4j.policy.model.AbstractToken abstractToken) throws org.apache.wss4j.common.WSSPolicyException - Specified by:
assertTokenin classTokenAssertionState- Throws:
org.apache.wss4j.common.WSSPolicyException
-
checkIssuedTokenTemplate
protected String checkIssuedTokenTemplate(Element template, org.apache.wss4j.stax.securityEvent.SamlTokenSecurityEvent samlTokenSecurityEvent) throws org.apache.xml.security.exceptions.XMLSecurityException Check the issued token template against the received assertion- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
validateClaims
protected String validateClaims(Element claimsPolicy, org.apache.wss4j.stax.securityEvent.SamlTokenSecurityEvent samlTokenSecurityEvent) throws org.apache.wss4j.common.ext.WSSecurityException - Throws:
org.apache.wss4j.common.ext.WSSecurityException
-
findClaimInAssertion
-
findClaimInAssertion
-
findClaimInAssertion
-