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

java.lang.Object
  extended by com.sun.xml.ws.security.impl.policyconv.XWSSPolicyGenerator

public class XWSSPolicyGenerator
extends java.lang.Object

Will convert WS Security Policy to XWSS policy. WS Security Policies are digested and cached by the first pipe. The same objects are shared across instances of the pipe(refer to Pipe javadoc for more information)


Constructor Summary
XWSSPolicyGenerator(com.sun.xml.ws.policy.Policy effectivePolicy, boolean isServer, boolean isIncoming)
           
XWSSPolicyGenerator(com.sun.xml.ws.policy.Policy effectivePolicy, boolean isServer, boolean isIncoming, SecurityPolicyVersion spVersion)
          Creates a new instance of WSPolicyProcessorImpl
 
Method Summary
protected  com.sun.xml.wss.impl.AlgorithmSuite getAlgoSuite(AlgorithmSuite suite)
           
 AlgorithmSuite getBindingLevelAlgSuite()
           
protected  com.sun.xml.wss.impl.MessageLayout getLayout(MessageLayout layout)
           
protected  com.sun.xml.wss.impl.WSSAssertion getWssAssertion(WSSAssertion asser)
           
 com.sun.xml.wss.impl.policy.mls.MessagePolicy getXWSSPolicy()
           
 boolean isIssuedTokenAsEncryptedSupportingToken()
           
 void process()
           
 void process(boolean ignoreST)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWSSPolicyGenerator

public XWSSPolicyGenerator(com.sun.xml.ws.policy.Policy effectivePolicy,
                           boolean isServer,
                           boolean isIncoming,
                           SecurityPolicyVersion spVersion)
Creates a new instance of WSPolicyProcessorImpl


XWSSPolicyGenerator

public XWSSPolicyGenerator(com.sun.xml.ws.policy.Policy effectivePolicy,
                           boolean isServer,
                           boolean isIncoming)
Method Detail

getBindingLevelAlgSuite

public AlgorithmSuite getBindingLevelAlgSuite()

process

public void process(boolean ignoreST)
             throws com.sun.xml.ws.policy.PolicyException
Throws:
com.sun.xml.ws.policy.PolicyException

process

public void process()
             throws com.sun.xml.ws.policy.PolicyException
Throws:
com.sun.xml.ws.policy.PolicyException

getXWSSPolicy

public com.sun.xml.wss.impl.policy.mls.MessagePolicy getXWSSPolicy()
                                                            throws com.sun.xml.ws.policy.PolicyException
Throws:
com.sun.xml.ws.policy.PolicyException

getAlgoSuite

protected com.sun.xml.wss.impl.AlgorithmSuite getAlgoSuite(AlgorithmSuite suite)

getWssAssertion

protected com.sun.xml.wss.impl.WSSAssertion getWssAssertion(WSSAssertion asser)

getLayout

protected com.sun.xml.wss.impl.MessageLayout getLayout(MessageLayout layout)

isIssuedTokenAsEncryptedSupportingToken

public boolean isIssuedTokenAsEncryptedSupportingToken()