Class IssuedTokenAssertionState

    • Method Detail

      • 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,
                                   AbstractToken abstractToken)
                            throws org.apache.wss4j.common.WSSPolicyException
        Specified by:
        assertToken in class TokenAssertionState
        Throws:
        org.apache.wss4j.common.WSSPolicyException
      • checkIssuedTokenTemplate

        protected String checkIssuedTokenTemplate​(Element template,
                                                  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,
                                        SamlTokenSecurityEvent samlTokenSecurityEvent)
                                 throws org.apache.wss4j.common.ext.WSSecurityException
        Throws:
        org.apache.wss4j.common.ext.WSSecurityException
      • findClaimInAssertion

        protected String findClaimInAssertion​(org.apache.wss4j.common.saml.SamlAssertionWrapper samlAssertionWrapper,
                                              URI claimURI)
      • findClaimInAssertion

        protected String findClaimInAssertion​(org.opensaml.saml.saml2.core.Assertion assertion,
                                              URI claimURI)
      • findClaimInAssertion

        protected String findClaimInAssertion​(org.opensaml.saml.saml1.core.Assertion assertion,
                                              URI claimURI)