com.sun.xml.ws.security.impl.policyconv
Class SupportingTokensProcessor
java.lang.Object
com.sun.xml.ws.security.impl.policyconv.SupportingTokensProcessor
- Direct Known Subclasses:
- EncryptedSupportingTokensProcessor, EndorsingSupportingTokensProcessor, SignedSupportingTokensProcessor
public class SupportingTokensProcessor
- extends Object
- Author:
- K.Venugopal@sun.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tokenProcessor
protected TokenProcessor tokenProcessor
stc
protected SignatureTargetCreator stc
etc
protected EncryptionTargetCreator etc
binding
protected Binding binding
policyContainer
protected XWSSPolicyContainer policyContainer
signaturePolicy
protected SignaturePolicy signaturePolicy
encryptionPolicy
protected EncryptionPolicy encryptionPolicy
st
protected SupportingTokens st
iAP
protected IntegrityAssertionProcessor iAP
eAP
protected EncryptionAssertionProcessor eAP
spList
protected ArrayList<SignaturePolicy> spList
epList
protected ArrayList<EncryptionPolicy> epList
emptySP
protected SignedParts emptySP
buildSP
protected boolean buildSP
buildEP
protected boolean buildEP
pid
protected PolicyID pid
SupportingTokensProcessor
protected SupportingTokensProcessor()
SupportingTokensProcessor
public SupportingTokensProcessor(SupportingTokens st,
TokenProcessor tokenProcessor,
Binding binding,
XWSSPolicyContainer container,
SignaturePolicy sp,
EncryptionPolicy ep,
PolicyID pid)
- Creates a new instance of SupportingTokensProcessor
process
public void process()
throws PolicyException
- Throws:
PolicyException
collectSignaturePolicies
protected void collectSignaturePolicies(Token token)
throws PolicyException
- Throws:
PolicyException
createSupportingSignature
protected void createSupportingSignature(Token token)
throws PolicyException
- Throws:
PolicyException
addToPrimarySignature
protected void addToPrimarySignature(WSSPolicy policy,
Token token)
throws PolicyException
- Throws:
PolicyException
endorseSignature
protected void endorseSignature(SignaturePolicy sp)
getSPList
protected ArrayList<SignaturePolicy> getSPList()
getEPList
protected ArrayList<EncryptionPolicy> getEPList()
encryptToken
protected void encryptToken(Token token,
SecurityPolicyVersion spVersion)
throws PolicyException
- Throws:
PolicyException
getEmptySignedParts
protected SignedParts getEmptySignedParts(Iterator itr)
addTargets
protected void addTargets()
populateSignaturePolicy
protected void populateSignaturePolicy()
populateEncryptionPolicy
protected void populateEncryptionPolicy()
protectToken
protected void protectToken(WSSPolicy token,
SignaturePolicy sp)
correctSAMLBinding
protected void correctSAMLBinding(WSSPolicy policy)
getQName
protected QName getQName(WSSPolicy token)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.