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 SummaryConstructors Constructor Description SupportingTokens(SPConstants.SPVersion version, QName supportingTokenType, org.apache.neethi.Policy nestedPolicy)
 - 
Method Summary- 
Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertionclone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, serialize, setIgnorable, setOptional
 
- 
 
- 
- 
- 
Constructor Detail- 
SupportingTokenspublic SupportingTokens(SPConstants.SPVersion version, QName supportingTokenType, org.apache.neethi.Policy nestedPolicy) 
 
- 
 - 
Method Detail- 
getNamepublic QName getName() - Specified by:
- getNamein interface- org.apache.neethi.Assertion
 
 - 
equalspublic boolean equals(Object object) - Overrides:
- equalsin class- AbstractSecurityAssertion
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AbstractSecurityAssertion
 
 - 
serializepublic void serialize(XMLStreamWriter writer) throws XMLStreamException - Specified by:
- serializein interface- org.apache.neethi.Assertion
- Specified by:
- serializein interface- org.apache.neethi.PolicyComponent
- Throws:
- XMLStreamException
 
 - 
normalizepublic org.apache.neethi.PolicyComponent normalize() - Specified by:
- normalizein interface- org.apache.neethi.Assertion
- Overrides:
- normalizein class- AbstractSecurityAssertion
 
 - 
cloneAssertionprotected AbstractSecurityAssertion cloneAssertion(org.apache.neethi.Policy nestedPolicy) - Specified by:
- cloneAssertionin class- AbstractSecurityAssertion
 
 - 
getPolicypublic org.apache.neethi.Policy getPolicy() - Specified by:
- getPolicyin interface- org.apache.neethi.PolicyContainingAssertion
 
 - 
parseNestedPolicyprotected void parseNestedPolicy(org.apache.neethi.Policy nestedPolicy, SupportingTokens supportingTokens)
 - 
getTokenspublic List<AbstractToken> getTokens() 
 - 
addTokenpublic void addToken(AbstractToken token) 
 - 
getAlgorithmSuitepublic AlgorithmSuite getAlgorithmSuite() 
 - 
setAlgorithmSuiteprotected void setAlgorithmSuite(AlgorithmSuite algorithmSuite) 
 - 
getSignedPartspublic SignedParts getSignedParts() 
 - 
setSignedPartsprotected void setSignedParts(SignedParts signedParts) 
 - 
getSignedElementspublic SignedElements getSignedElements() 
 - 
setSignedElementsprotected void setSignedElements(SignedElements signedElements) 
 - 
getEncryptedPartspublic EncryptedParts getEncryptedParts() 
 - 
setEncryptedPartsprotected void setEncryptedParts(EncryptedParts encryptedParts) 
 - 
getEncryptedElementspublic EncryptedElements getEncryptedElements() 
 - 
setEncryptedElementsprotected void setEncryptedElements(EncryptedElements encryptedElements) 
 - 
isEncryptedTokenpublic boolean isEncryptedToken() - Returns:
- true if the supporting token should be encrypted
 
 - 
isEndorsingpublic boolean isEndorsing() - Returns:
- true if the supporting token is endorsing
 
 
- 
 
-