Package org.apache.wss4j.policy.model
Class SupportingTokens
java.lang.Object
org.apache.wss4j.policy.model.AbstractSecurityAssertion
org.apache.wss4j.policy.model.SupportingTokens
- All Implemented Interfaces:
org.apache.neethi.Assertion,org.apache.neethi.PolicyComponent,org.apache.neethi.PolicyContainingAssertion
public class SupportingTokens
extends AbstractSecurityAssertion
implements org.apache.neethi.PolicyContainingAssertion
-
Constructor Summary
ConstructorsConstructorDescriptionSupportingTokens(SPConstants.SPVersion version, QName supportingTokenType, org.apache.neethi.Policy nestedPolicy) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToken(AbstractToken token) protected AbstractSecurityAssertioncloneAssertion(org.apache.neethi.Policy nestedPolicy) booleangetName()org.apache.neethi.PolicyinthashCode()booleanbooleanorg.apache.neethi.PolicyComponentprotected voidparseNestedPolicy(org.apache.neethi.Policy nestedPolicy, SupportingTokens supportingTokens) voidserialize(XMLStreamWriter writer) protected voidsetAlgorithmSuite(AlgorithmSuite algorithmSuite) protected voidsetEncryptedElements(EncryptedElements encryptedElements) protected voidsetEncryptedParts(EncryptedParts encryptedParts) protected voidsetSignedElements(SignedElements signedElements) protected voidsetSignedParts(SignedParts signedParts) Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, serialize, setIgnorable, setOptionalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.neethi.Assertion
isIgnorable, isOptionalMethods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
-
Constructor Details
-
SupportingTokens
public SupportingTokens(SPConstants.SPVersion version, QName supportingTokenType, org.apache.neethi.Policy nestedPolicy)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.apache.neethi.Assertion
-
equals
- Overrides:
equalsin classAbstractSecurityAssertion
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSecurityAssertion
-
serialize
- Specified by:
serializein interfaceorg.apache.neethi.Assertion- Specified by:
serializein interfaceorg.apache.neethi.PolicyComponent- Throws:
XMLStreamException
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalizein interfaceorg.apache.neethi.Assertion- Overrides:
normalizein classAbstractSecurityAssertion
-
cloneAssertion
- Specified by:
cloneAssertionin classAbstractSecurityAssertion
-
getPolicy
public org.apache.neethi.Policy getPolicy()- Specified by:
getPolicyin interfaceorg.apache.neethi.PolicyContainingAssertion
-
parseNestedPolicy
protected void parseNestedPolicy(org.apache.neethi.Policy nestedPolicy, SupportingTokens supportingTokens) -
getTokens
-
addToken
-
getAlgorithmSuite
-
setAlgorithmSuite
-
getSignedParts
-
setSignedParts
-
getSignedElements
-
setSignedElements
-
getEncryptedParts
-
setEncryptedParts
-
getEncryptedElements
-
setEncryptedElements
-
isEncryptedToken
public boolean isEncryptedToken()- Returns:
- true if the supporting token should be encrypted
-
isEndorsing
public boolean isEndorsing()- Returns:
- true if the supporting token is endorsing
-