org.apache.cxf.ws.security.wss4j
Class AlgorithmSuiteTranslater

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.AlgorithmSuiteTranslater

public final class AlgorithmSuiteTranslater
extends Object

Translate any AlgorithmSuite policy that may be operative into a WSS4J AlgorithmSuite object to enforce what algorithms are allowed in a request.


Constructor Summary
AlgorithmSuiteTranslater()
           
 
Method Summary
static List<AlgorithmSuite> getAlgorithmSuites(List<Binding> bindings)
          Get all of the CXF AlgorithmSuites from the bindings
static List<Binding> getBindings(org.apache.cxf.ws.policy.AssertionInfoMap aim)
          Get all of the WS-SecurityPolicy Bindings that are in operation
 void translateAlgorithmSuites(org.apache.cxf.ws.policy.AssertionInfoMap aim, org.apache.ws.security.handler.RequestData data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmSuiteTranslater

public AlgorithmSuiteTranslater()
Method Detail

translateAlgorithmSuites

public void translateAlgorithmSuites(org.apache.cxf.ws.policy.AssertionInfoMap aim,
                                     org.apache.ws.security.handler.RequestData data)
                              throws org.apache.ws.security.WSSecurityException
Throws:
org.apache.ws.security.WSSecurityException

getBindings

public static List<Binding> getBindings(org.apache.cxf.ws.policy.AssertionInfoMap aim)
Get all of the WS-SecurityPolicy Bindings that are in operation


getAlgorithmSuites

public static List<AlgorithmSuite> getAlgorithmSuites(List<Binding> bindings)
Get all of the CXF AlgorithmSuites from the bindings



Apache CXF