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, isInitiatorclearErrorMessage, getAssertion, getErrorMessage, isAsserted, isHardFailure, isLogged, setAsserted, setErrorMessage, setLoggedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorMessage, isAsserted, isHardFailure, isLogged, setLoggedpublic 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 TokenAssertionStateWSSPolicyExceptionprotected String checkIssuedTokenTemplate(Element template, SamlTokenSecurityEvent samlTokenSecurityEvent) throws org.apache.xml.security.exceptions.XMLSecurityException
org.apache.xml.security.exceptions.XMLSecurityExceptionprotected String validateClaims(Element claimsPolicy, SamlTokenSecurityEvent samlTokenSecurityEvent) throws WSSecurityException
WSSecurityExceptionprotected String findClaimInAssertion(SamlAssertionWrapper samlAssertionWrapper, URI claimURI)
protected String findClaimInAssertion(org.opensaml.saml.saml2.core.Assertion assertion, URI claimURI)
Copyright © 2018 JBoss by Red Hat. All rights reserved.