Class TokenAssertionState

java.lang.Object
org.apache.wss4j.policy.AssertionState
org.apache.wss4j.policy.stax.assertionStates.TokenAssertionState
All Implemented Interfaces:
Assertable
Direct Known Subclasses:
HttpsTokenAssertionState, IssuedTokenAssertionState, KerberosTokenAssertionState, KeyValueTokenAssertionState, RelTokenAssertionState, SamlTokenAssertionState, SecurityContextTokenAssertionState, SpnegoContextTokenAssertionState, UsernameTokenAssertionState, X509TokenAssertionState

public abstract class TokenAssertionState extends org.apache.wss4j.policy.AssertionState implements Assertable
WSP1.3, 5 Token Assertions
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.wss4j.policy.AssertionState

    org.apache.wss4j.policy.AssertionState.State
  • Constructor Summary

    Constructors
    Constructor
    Description
    TokenAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, boolean asserted, boolean initiator)
     
    TokenAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent)
     
    abstract 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)
     
    protected PolicyAsserter
     
    protected boolean
    hasDerivedKeys(org.apache.xml.security.stax.securityToken.SecurityToken securityToken)
     
    protected boolean
     

    Methods inherited from class org.apache.wss4j.policy.AssertionState

    clearErrorMessage, getAssertion, getErrorMessage, isAsserted, isHardFailure, isLogged, setAsserted, setErrorMessage, setLogged

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.wss4j.policy.stax.Assertable

    getErrorMessage, getSecurityEventType, isAsserted, isHardFailure, isLogged, setLogged
  • Constructor Details

    • TokenAssertionState

      public TokenAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, boolean asserted, boolean initiator)
    • TokenAssertionState

      public TokenAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator)
  • Method Details

    • assertEvent

      public boolean assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) throws org.apache.wss4j.common.WSSPolicyException, org.apache.xml.security.exceptions.XMLSecurityException
      Specified by:
      assertEvent in interface Assertable
      Throws:
      org.apache.wss4j.common.WSSPolicyException
      org.apache.xml.security.exceptions.XMLSecurityException
    • assertToken

      public abstract 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, org.apache.xml.security.exceptions.XMLSecurityException
      Throws:
      org.apache.wss4j.common.WSSPolicyException
      org.apache.xml.security.exceptions.XMLSecurityException
    • hasDerivedKeys

      protected boolean hasDerivedKeys(org.apache.xml.security.stax.securityToken.SecurityToken securityToken) throws org.apache.xml.security.exceptions.XMLSecurityException
      Throws:
      org.apache.xml.security.exceptions.XMLSecurityException
    • getPolicyAsserter

      protected PolicyAsserter getPolicyAsserter()
    • isInitiator

      protected boolean isInitiator()