Class XWSSPolicyGenerator
- java.lang.Object
-
- com.sun.xml.ws.security.impl.policyconv.XWSSPolicyGenerator
-
public class XWSSPolicyGenerator extends 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)- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description XWSSPolicyGenerator(Policy effectivePolicy, boolean isServer, boolean isIncoming)
XWSSPolicyGenerator(Policy effectivePolicy, boolean isServer, boolean isIncoming, SecurityPolicyVersion spVersion)
Creates a new instance of WSPolicyProcessorImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AlgorithmSuite
getAlgoSuite(AlgorithmSuite suite)
AlgorithmSuite
getBindingLevelAlgSuite()
protected MessageLayout
getLayout(MessageLayout layout)
protected WSSAssertion
getWssAssertion(WSSAssertion asser)
MessagePolicy
getXWSSPolicy()
boolean
isIssuedTokenAsEncryptedSupportingToken()
void
process()
void
process(boolean ignoreST)
-
-
-
Constructor Detail
-
XWSSPolicyGenerator
public XWSSPolicyGenerator(Policy effectivePolicy, boolean isServer, boolean isIncoming, SecurityPolicyVersion spVersion)
Creates a new instance of WSPolicyProcessorImpl- Parameters:
effectivePolicy
-
-
XWSSPolicyGenerator
public XWSSPolicyGenerator(Policy effectivePolicy, boolean isServer, boolean isIncoming)
-
-
Method Detail
-
getBindingLevelAlgSuite
public AlgorithmSuite getBindingLevelAlgSuite()
-
process
public void process(boolean ignoreST) throws PolicyException
- Throws:
PolicyException
-
process
public void process() throws PolicyException
- Throws:
PolicyException
-
getXWSSPolicy
public MessagePolicy getXWSSPolicy() throws PolicyException
- Throws:
PolicyException
-
getAlgoSuite
protected AlgorithmSuite getAlgoSuite(AlgorithmSuite suite)
-
getWssAssertion
protected WSSAssertion getWssAssertion(WSSAssertion asser)
-
getLayout
protected MessageLayout getLayout(MessageLayout layout)
-
isIssuedTokenAsEncryptedSupportingToken
public boolean isIssuedTokenAsEncryptedSupportingToken()
-
-