public class IssuedTokenAssertionState extends TokenAssertionState
AssertionState.State
Constructor and Description |
---|
IssuedTokenAssertionState(AbstractSecurityAssertion assertion,
boolean asserted,
PolicyAsserter policyAsserter,
boolean initiator) |
Modifier and Type | Method and Description |
---|---|
boolean |
assertToken(org.apache.xml.security.stax.securityEvent.TokenSecurityEvent<? extends org.apache.xml.security.stax.securityToken.SecurityToken> tokenSecurityEvent,
AbstractToken abstractToken) |
protected String |
checkIssuedTokenTemplate(Element template,
SamlTokenSecurityEvent samlTokenSecurityEvent)
Check the issued token template against the received assertion
|
protected String |
findClaimInAssertion(org.opensaml.saml.saml2.core.Assertion assertion,
URI claimURI) |
protected String |
findClaimInAssertion(org.opensaml.saml.saml1.core.Assertion assertion,
URI claimURI) |
protected String |
findClaimInAssertion(SamlAssertionWrapper samlAssertionWrapper,
URI claimURI) |
org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[] |
getSecurityEventType() |
protected String |
validateClaims(Element claimsPolicy,
SamlTokenSecurityEvent samlTokenSecurityEvent) |
assertEvent, getPolicyAsserter, hasDerivedKeys, isInitiator
clearErrorMessage, getAssertion, getErrorMessage, isAsserted, isHardFailure, isLogged, setAsserted, setErrorMessage, setLogged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessage, isAsserted, isHardFailure, isLogged, setLogged
public IssuedTokenAssertionState(AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator)
public org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[] getSecurityEventType()
public boolean assertToken(org.apache.xml.security.stax.securityEvent.TokenSecurityEvent<? extends org.apache.xml.security.stax.securityToken.SecurityToken> tokenSecurityEvent, AbstractToken abstractToken) throws WSSPolicyException
assertToken
in class TokenAssertionState
WSSPolicyException
protected String checkIssuedTokenTemplate(Element template, SamlTokenSecurityEvent samlTokenSecurityEvent) throws org.apache.xml.security.exceptions.XMLSecurityException
org.apache.xml.security.exceptions.XMLSecurityException
protected String validateClaims(Element claimsPolicy, SamlTokenSecurityEvent samlTokenSecurityEvent) throws WSSecurityException
WSSecurityException
protected String findClaimInAssertion(SamlAssertionWrapper samlAssertionWrapper, URI claimURI)
protected String findClaimInAssertion(org.opensaml.saml.saml2.core.Assertion assertion, URI claimURI)
Copyright © 2017 JBoss by Red Hat. All rights reserved.