com.sun.xml.ws.security.impl.policyconv
Class BindingProcessor

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

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
Constructor Detail

BindingProcessor

public BindingProcessor()
Creates a new instance of BindingProcessor

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()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.