Class BindingProcessor
- java.lang.Object
-
- com.sun.xml.ws.security.impl.policyconv.BindingProcessor
-
- Direct Known Subclasses:
AsymmetricBindingProcessor,NilBindingProcessor,SymmetricBindingProcessor,TransportBindingProcessor
public abstract class BindingProcessor extends Object
- Author:
- K.Venugopal@sun.com
-
-
Field Summary
Fields Modifier and Type Field Description protected XWSSPolicyContainercontainerprotected EncryptionAssertionProcessoreAPprotected Vector<EncryptedElements>encryptedElementsprotected Vector<EncryptedParts>encryptedPartsprotected booleanfoundEncryptTargetsprotected IntegrityAssertionProcessoriAPprotected booleanisIncomingprotected booleanisServerprotected PolicyIDpidprotected EncryptionPolicyprimaryEPprotected SignaturePolicyprimarySPprotected StringprotectionOrderprotected EncryptionPolicysEncPolicyprotected Vector<SignedElements>signedElementsprotected Vector<SignedParts>signedPartsprotected SignaturePolicysSigPolicyprotected TokenProcessortokenProcessor
-
Constructor Summary
Constructors Constructor Description BindingProcessor()Creates a new instance of BindingProcessor
-
Method Summary
-
-
-
Field Detail
-
protectionOrder
protected String protectionOrder
-
isServer
protected boolean isServer
-
isIncoming
protected boolean isIncoming
-
primarySP
protected SignaturePolicy primarySP
-
primaryEP
protected EncryptionPolicy primaryEP
-
sEncPolicy
protected EncryptionPolicy sEncPolicy
-
sSigPolicy
protected SignaturePolicy sSigPolicy
-
container
protected XWSSPolicyContainer container
-
signedParts
protected Vector<SignedParts> signedParts
-
encryptedParts
protected Vector<EncryptedParts> encryptedParts
-
signedElements
protected Vector<SignedElements> signedElements
-
encryptedElements
protected Vector<EncryptedElements> encryptedElements
-
pid
protected PolicyID pid
-
tokenProcessor
protected TokenProcessor tokenProcessor
-
iAP
protected IntegrityAssertionProcessor iAP
-
eAP
protected EncryptionAssertionProcessor eAP
-
foundEncryptTargets
protected boolean foundEncryptTargets
-
-
Method Detail
-
protectPrimarySignature
protected void protectPrimarySignature() throws PolicyException- Throws:
PolicyException
-
protectTimestamp
protected void protectTimestamp(TimestampPolicy tp)
-
protectToken
protected void protectToken(WSSPolicy token)
-
protectToken
protected void protectToken(@NotNull WSSPolicy token, boolean ignoreSTR)
-
getSecondaryEncryptionPolicy
protected abstract EncryptionPolicy getSecondaryEncryptionPolicy() throws PolicyException
- Throws:
PolicyException
-
addPrimaryTargets
protected void addPrimaryTargets() throws PolicyException- Throws:
PolicyException
-
requireSC
protected boolean requireSC()
-
getBinding
protected abstract Binding getBinding()
-
processSupportingTokens
public void processSupportingTokens(SupportingTokens st) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(SignedSupportingTokens st) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(EndorsingSupportingTokens est) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(SignedEndorsingSupportingTokens est) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(SignedEncryptedSupportingTokens sest) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(EncryptedSupportingTokens est) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(EndorsingEncryptedSupportingTokens est) throws PolicyException
- Throws:
PolicyException
-
processSupportingTokens
public void processSupportingTokens(SignedEndorsingEncryptedSupportingTokens est) throws PolicyException
- Throws:
PolicyException
-
getSignaturePolicy
protected SignaturePolicy getSignaturePolicy()
-
close
protected abstract void close()
-
isWSS11
public boolean isWSS11()
-
setWSS11
public void setWSS11(WSSAssertion wss11)
-
isIssuedTokenAsEncryptedSupportingToken
public boolean isIssuedTokenAsEncryptedSupportingToken()
-
-