Class TokenProtectionAssertionState
- java.lang.Object
-
- org.apache.wss4j.policy.AssertionState
-
- org.apache.wss4j.policy.stax.assertionStates.TokenProtectionAssertionState
-
- All Implemented Interfaces:
Assertable
public class TokenProtectionAssertionState extends AssertionState implements 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
Constructors Constructor Description TokenProtectionAssertionState(org.apache.neethi.Assertion assertion, PolicyAsserter policyAsserter, boolean initialAssertionState, boolean soap12)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent)
org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[]
getSecurityEventType()
-
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, isAsserted, isHardFailure, isLogged, setLogged
-
-
-
-
Constructor Detail
-
TokenProtectionAssertionState
public TokenProtectionAssertionState(org.apache.neethi.Assertion assertion, PolicyAsserter policyAsserter, boolean initialAssertionState, boolean soap12)
-
-
Method Detail
-
getSecurityEventType
public org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[] getSecurityEventType()
- Specified by:
getSecurityEventType
in interfaceAssertable
-
assertEvent
public boolean assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) throws WSSPolicyException, org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
assertEvent
in interfaceAssertable
- Throws:
WSSPolicyException
org.apache.xml.security.exceptions.XMLSecurityException
-
-