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

java.lang.Object
  extended by org.apache.wss4j.policy.AssertionState
      extended by 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
TokenProtectionAssertionState(org.apache.neethi.Assertion assertion, PolicyAsserter policyAsserter, boolean initialAssertionState)
           
 
Method Summary
 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)
Method Detail

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,
                           org.apache.xml.security.exceptions.XMLSecurityException
Specified by:
assertEvent in interface Assertable
Throws:
org.apache.wss4j.common.WSSPolicyException
org.apache.xml.security.exceptions.XMLSecurityException


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