Class SignatureProtectionAssertionState

java.lang.Object
org.apache.wss4j.policy.AssertionState
org.apache.wss4j.policy.stax.assertionStates.SignatureProtectionAssertionState
All Implemented Interfaces:
Assertable

public class SignatureProtectionAssertionState extends org.apache.wss4j.policy.AssertionState implements Assertable
WSP1.3, 6.4 Signature Protection Property
  • 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
    SignatureProtectionAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted)
    Deprecated.
    use the constructor taking a soap12 argument instead - this constructor only matches SOAP 1.1 element paths, so sp:EncryptSignature is never enforced for SOAP 1.2 messages
    SignatureProtectionAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted, boolean soap12)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent)
     
    org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[]
     
    boolean
     

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

    clearErrorMessage, getAssertion, getErrorMessage, 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, isHardFailure, isLogged, setLogged
  • Constructor Details

    • SignatureProtectionAssertionState

      @Deprecated public SignatureProtectionAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted)
      Deprecated.
      use the constructor taking a soap12 argument instead - this constructor only matches SOAP 1.1 element paths, so sp:EncryptSignature is never enforced for SOAP 1.2 messages
    • SignatureProtectionAssertionState

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

    • getSecurityEventType

      public org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[] getSecurityEventType()
      Specified by:
      getSecurityEventType in interface Assertable
    • assertEvent

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

      public boolean isAsserted()
      Specified by:
      isAsserted in interface Assertable
      Overrides:
      isAsserted in class org.apache.wss4j.policy.AssertionState