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

java.lang.Object
  extended by org.apache.wss4j.policy.AssertionState
      extended by org.apache.wss4j.policy.stax.assertionStates.TokenAssertionState
All Implemented Interfaces:
Assertable
Direct Known Subclasses:
HttpsTokenAssertionState, IssuedTokenAssertionState, KerberosTokenAssertionState, KeyValueTokenAssertionState, RelTokenAssertionState, SamlTokenAssertionState, SecurityContextTokenAssertionState, SpnegoContextTokenAssertionState, UsernameTokenAssertionState, X509TokenAssertionState

public abstract class TokenAssertionState
extends AssertionState
implements Assertable

WSP1.3, 5 Token Assertions


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wss4j.policy.AssertionState
AssertionState.State
 
Constructor Summary
TokenAssertionState(AbstractSecurityAssertion assertion, boolean asserted, boolean initiator)
           
TokenAssertionState(AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator)
           
 
Method Summary
 boolean assertEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent)
           
abstract  boolean assertToken(org.apache.xml.security.stax.securityEvent.TokenSecurityEvent<? extends org.apache.xml.security.stax.securityToken.SecurityToken> tokenSecurityEvent, AbstractToken abstractToken)
           
protected  PolicyAsserter getPolicyAsserter()
           
protected  boolean hasDerivedKeys(org.apache.xml.security.stax.securityToken.SecurityToken securityToken)
           
protected  boolean isInitiator()
           
 
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, getSecurityEventType, isAsserted, isHardFailure, isLogged, setLogged
 

Constructor Detail

TokenAssertionState

public TokenAssertionState(AbstractSecurityAssertion assertion,
                           boolean asserted,
                           boolean initiator)

TokenAssertionState

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

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

assertToken

public abstract boolean assertToken(org.apache.xml.security.stax.securityEvent.TokenSecurityEvent<? extends org.apache.xml.security.stax.securityToken.SecurityToken> tokenSecurityEvent,
                                    AbstractToken abstractToken)
                             throws org.apache.wss4j.common.WSSPolicyException,
                                    org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.wss4j.common.WSSPolicyException
org.apache.xml.security.exceptions.XMLSecurityException

hasDerivedKeys

protected boolean hasDerivedKeys(org.apache.xml.security.stax.securityToken.SecurityToken securityToken)
                          throws org.apache.xml.security.exceptions.XMLSecurityException
Throws:
org.apache.xml.security.exceptions.XMLSecurityException

getPolicyAsserter

protected PolicyAsserter getPolicyAsserter()

isInitiator

protected boolean isInitiator()


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