Class TokenProtectionAssertionState
java.lang.Object
org.apache.wss4j.policy.AssertionState
org.apache.wss4j.policy.stax.assertionStates.TokenProtectionAssertionState
- All Implemented Interfaces:
Assertable
WSP1.3, 6.5 Token Protection Property
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wss4j.policy.AssertionState
AssertionState.State -
Constructor Summary
ConstructorsConstructorDescriptionTokenProtectionAssertionState(org.apache.neethi.Assertion assertion, PolicyAsserter policyAsserter, boolean initialAssertionState, boolean soap12) -
Method Summary
Modifier and TypeMethodDescriptionbooleanassertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[]Methods inherited from class org.apache.wss4j.policy.AssertionState
clearErrorMessage, getAssertion, getErrorMessage, isAsserted, 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, isAsserted, isHardFailure, isLogged, setLogged
-
Constructor Details
-
TokenProtectionAssertionState
public TokenProtectionAssertionState(org.apache.neethi.Assertion assertion, PolicyAsserter policyAsserter, boolean initialAssertionState, 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, org.apache.xml.security.exceptions.XMLSecurityException - Specified by:
assertEventin interfaceAssertable- Throws:
org.apache.wss4j.common.WSSPolicyExceptionorg.apache.xml.security.exceptions.XMLSecurityException
-