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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wss4j.policy.AssertionState
AssertionState.State
-
-
Constructor Summary
Constructors Constructor Description TokenAssertionState(AbstractSecurityAssertion assertion, boolean asserted, boolean initiator)
TokenAssertionState(AbstractSecurityAssertion assertion, boolean asserted, PolicyAsserter policyAsserter, boolean initiator)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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 WSSPolicyException, org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
assertEvent
in interfaceAssertable
- Throws:
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 WSSPolicyException, org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
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()
-
-