Class RequiredElementsAssertionState
java.lang.Object
org.apache.wss4j.policy.AssertionState
org.apache.wss4j.policy.stax.assertionStates.RequiredElementsAssertionState
- All Implemented Interfaces:
Assertable
WSP1.3, 4.3.1 RequiredElements Assertion
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wss4j.policy.AssertionState
AssertionState.State -
Constructor Summary
ConstructorsConstructorDescriptionRequiredElementsAssertionState(AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(List<QName> pathElement) booleanassertEvent(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
-
RequiredElementsAssertionState
public RequiredElementsAssertionState(AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted)
-
-
Method Details
-
addElement
-
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 classAssertionState
-