org.apache.wss4j.policy.stax.assertionStates
Class TokenAssertionState
java.lang.Object
org.apache.wss4j.policy.AssertionState
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenAssertionState
public TokenAssertionState(AbstractSecurityAssertion assertion,
boolean asserted,
boolean initiator)
TokenAssertionState
public TokenAssertionState(AbstractSecurityAssertion assertion,
boolean asserted,
PolicyAsserter policyAsserter,
boolean initiator)
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.