public class SupportingToken extends AbstractSecurityAssertion implements AlgorithmWrapper, TokenWrapper
version
Constructor and Description |
---|
SupportingToken(int type,
int version) |
equal, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
public AlgorithmSuite getAlgorithmSuite()
public void setAlgorithmSuite(AlgorithmSuite algorithmSuite)
setAlgorithmSuite
in interface AlgorithmWrapper
algorithmSuite
- The algorithmSuite to set.public void addToken(Token token)
token
- The token to set.public int getTokenType()
public void setTokenType(int type)
type
- The type to set.public SignedEncryptedElements getEncryptedElements()
public void setEncryptedElements(SignedEncryptedElements encryptedElements)
encryptedElements
- The encryptedElements to set.public SignedEncryptedParts getEncryptedParts()
public void setEncryptedParts(SignedEncryptedParts encryptedParts)
encryptedParts
- The encryptedParts to set.public SignedEncryptedElements getSignedElements()
public void setSignedElements(SignedEncryptedElements signedElements)
signedElements
- The signedElements to set.public SignedEncryptedParts getSignedParts()
public void setSignedParts(SignedEncryptedParts signedParts)
signedParts
- The signedParts to set.public void setToken(Token tok)
setToken
in interface TokenWrapper
public boolean isSignedElementsOptional()
public void setSignedElementsOptional(boolean signedElementsOptional)
public boolean isEncryptedElementsOptional()
public void setEncryptedElementsOptional(boolean encryptedElementsOptional)
public boolean isSignedPartsOptional()
public void setSignedPartsOptional(boolean signedPartsOptional)
public boolean isEncryptedPartsOptional()
public void setEncryptedPartsOptional(boolean encryptedPartsOptional)
public QName getName()
getName
in interface org.apache.neethi.Assertion
public boolean isEncryptedToken()
public org.apache.neethi.PolicyComponent normalize()
normalize
in interface org.apache.neethi.Assertion
normalize
in class AbstractSecurityAssertion
public short getType()
getType
in interface org.apache.neethi.PolicyComponent
getType
in class AbstractSecurityAssertion
public void serialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.neethi.Assertion
serialize
in interface org.apache.neethi.PolicyComponent
javax.xml.stream.XMLStreamException
Copyright © Apache Software Foundation. All Rights Reserved.