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
| Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion |
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, serialize, setIgnorable, setOptional |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.neethi.Assertion |
isIgnorable, isOptional |
| Methods inherited from interface org.apache.neethi.PolicyComponent |
equal, getType |
SupportingTokens
public SupportingTokens(SPConstants.SPVersion version,
SupportingTokenType supportingTokenType,
org.apache.neethi.Policy nestedPolicy)
getName
public QName getName()
- Specified by:
getName in interface org.apache.neethi.Assertion
serialize
public void serialize(XMLStreamWriter writer)
throws XMLStreamException
- Specified by:
serialize in interface org.apache.neethi.Assertion- Specified by:
serialize in interface org.apache.neethi.PolicyComponent
- Throws:
XMLStreamException
normalize
public org.apache.neethi.PolicyComponent normalize()
- Specified by:
normalize in interface org.apache.neethi.Assertion- Overrides:
normalize in class AbstractSecurityAssertion
cloneAssertion
protected AbstractSecurityAssertion cloneAssertion(org.apache.neethi.Policy nestedPolicy)
- Specified by:
cloneAssertion in class AbstractSecurityAssertion
getPolicy
public org.apache.neethi.Policy getPolicy()
- Specified by:
getPolicy in interface org.apache.neethi.PolicyContainingAssertion
parseNestedPolicy
protected void parseNestedPolicy(org.apache.neethi.Policy nestedPolicy,
SupportingTokens supportingTokens)
getSupportingTokenType
public SupportingTokenType getSupportingTokenType()
setSupportingTokenType
protected void setSupportingTokenType(SupportingTokenType supportingTokenType)
getTokens
public List<AbstractToken> getTokens()
addToken
public void addToken(AbstractToken token)
getAlgorithmSuite
public AlgorithmSuite getAlgorithmSuite()
setAlgorithmSuite
protected void setAlgorithmSuite(AlgorithmSuite algorithmSuite)
getSignedParts
public SignedParts getSignedParts()
setSignedParts
protected void setSignedParts(SignedParts signedParts)
getSignedElements
public SignedElements getSignedElements()
setSignedElements
protected void setSignedElements(SignedElements signedElements)
getEncryptedParts
public EncryptedParts getEncryptedParts()
setEncryptedParts
protected void setEncryptedParts(EncryptedParts encryptedParts)
getEncryptedElements
public EncryptedElements getEncryptedElements()
setEncryptedElements
protected void setEncryptedElements(EncryptedElements encryptedElements)
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
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.