com.sun.xml.ws.security.impl.policyconv
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 java.lang.Object
Constructor Summary |
BindingProcessor()
Creates a new instance of BindingProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protectionOrder
protected java.lang.String protectionOrder
isServer
protected boolean isServer
isIncoming
protected boolean isIncoming
primarySP
protected com.sun.xml.wss.impl.policy.mls.SignaturePolicy primarySP
primaryEP
protected com.sun.xml.wss.impl.policy.mls.EncryptionPolicy primaryEP
sEncPolicy
protected com.sun.xml.wss.impl.policy.mls.EncryptionPolicy sEncPolicy
sSigPolicy
protected com.sun.xml.wss.impl.policy.mls.SignaturePolicy sSigPolicy
container
protected XWSSPolicyContainer container
signedParts
protected java.util.Vector<SignedParts> signedParts
encryptedParts
protected java.util.Vector<EncryptedParts> encryptedParts
signedElements
protected java.util.Vector<SignedElements> signedElements
encryptedElements
protected java.util.Vector<EncryptedElements> encryptedElements
pid
protected PolicyID pid
tokenProcessor
protected TokenProcessor tokenProcessor
iAP
protected IntegrityAssertionProcessor iAP
eAP
protected EncryptionAssertionProcessor eAP
foundEncryptTargets
protected boolean foundEncryptTargets
BindingProcessor
public BindingProcessor()
- Creates a new instance of BindingProcessor
protectPrimarySignature
protected void protectPrimarySignature()
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
protectTimestamp
protected void protectTimestamp(com.sun.xml.wss.impl.policy.mls.TimestampPolicy tp)
protectToken
protected void protectToken(com.sun.xml.wss.impl.policy.mls.WSSPolicy token)
protectToken
protected void protectToken(com.sun.xml.wss.impl.policy.mls.WSSPolicy token,
boolean ignoreSTR)
getSecondaryEncryptionPolicy
protected abstract com.sun.xml.wss.impl.policy.mls.EncryptionPolicy getSecondaryEncryptionPolicy()
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
addPrimaryTargets
protected void addPrimaryTargets()
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
requireSC
protected boolean requireSC()
getBinding
protected abstract Binding getBinding()
processSupportingTokens
public void processSupportingTokens(SupportingTokens st)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(SignedSupportingTokens st)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(EndorsingSupportingTokens est)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(SignedEndorsingSupportingTokens est)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(SignedEncryptedSupportingTokens sest)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(EncryptedSupportingTokens est)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(EndorsingEncryptedSupportingTokens est)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
processSupportingTokens
public void processSupportingTokens(SignedEndorsingEncryptedSupportingTokens est)
throws com.sun.xml.ws.policy.PolicyException
- Throws:
com.sun.xml.ws.policy.PolicyException
getSignaturePolicy
protected com.sun.xml.wss.impl.policy.mls.SignaturePolicy getSignaturePolicy()
close
protected abstract void close()
isWSS11
public boolean isWSS11()
setWSS11
public void setWSS11(WSSAssertion wss11)
isIssuedTokenAsEncryptedSupportingToken
public boolean isIssuedTokenAsEncryptedSupportingToken()