org.apache.wss4j.policy.stax.assertionStates
Class RequiredElementsAssertionState

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

public class RequiredElementsAssertionState
extends AssertionState
implements 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
RequiredElementsAssertionState(AbstractSecurityAssertion assertion, PolicyAsserter policyAsserter, boolean asserted)
           
 
Method Summary
 void addElement(List<QName> pathElement)
           
 boolean assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent)
           
 org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event[] getSecurityEventType()
           
 boolean isAsserted()
           
 
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 Detail

RequiredElementsAssertionState

public RequiredElementsAssertionState(AbstractSecurityAssertion assertion,
                                      PolicyAsserter policyAsserter,
                                      boolean asserted)
Method Detail

addElement

public void addElement(List<QName> pathElement)

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 AssertionState


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.