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
ConstructorsConstructorDescriptionSignatureProtectionAssertionState(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 messagesSignatureProtectionAssertionState(org.apache.wss4j.policy.model.AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted, boolean soap12) -
Method Summary
Modifier and TypeMethodDescriptionbooleanassertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[]booleanMethods inherited from class org.apache.wss4j.policy.AssertionState
clearErrorMessage, getAssertion, getErrorMessage, isHardFailure, isLogged, setAsserted, setErrorMessage, setLoggedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSecurityEventTypein interfaceAssertable
-
assertEvent
public boolean assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) throws org.apache.wss4j.common.WSSPolicyException - Specified by:
assertEventin interfaceAssertable- Throws:
org.apache.wss4j.common.WSSPolicyException
-
isAsserted
public boolean isAsserted()- Specified by:
isAssertedin interfaceAssertable- Overrides:
isAssertedin classorg.apache.wss4j.policy.AssertionState
-