org.wso2.wsas.security.util
Class RampartConfigUtil

java.lang.Object
  extended byorg.wso2.wsas.security.util.RampartConfigUtil

public class RampartConfigUtil
extends java.lang.Object

Utility methods to compute Rampart configuration


Constructor Summary
RampartConfigUtil()
           
 
Method Summary
static void updateInflowConfiguration(org.apache.axis2.engine.AxisConfiguration axisConfig, java.lang.String serviceId, java.lang.String operationSOAPAction)
          Updates the Rampart inflow configuration of the speified AxisDescription.
static void updateOutflowConfiguration(org.apache.axis2.engine.AxisConfiguration axisConfig, java.lang.String serviceId, java.lang.String operationSOAPAction)
          Updates the Rampart outflow configuration of the speified AxisDescription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RampartConfigUtil

public RampartConfigUtil()
Method Detail

updateOutflowConfiguration

public static void updateOutflowConfiguration(org.apache.axis2.engine.AxisConfiguration axisConfig,
                                              java.lang.String serviceId,
                                              java.lang.String operationSOAPAction)
                                       throws org.wso2.wsf.common.ServerException
Updates the Rampart outflow configuration of the speified AxisDescription.

Parameters:
axisConfig - AxisConfiguration to find the AxisDescription from.
serviceId - Service identifier
operationSOAPAction - SOAPAction of the operation (optional)
Throws:
org.wso2.wsf.common.ServerException

updateInflowConfiguration

public static void updateInflowConfiguration(org.apache.axis2.engine.AxisConfiguration axisConfig,
                                             java.lang.String serviceId,
                                             java.lang.String operationSOAPAction)
                                      throws org.wso2.wsf.common.ServerException
Updates the Rampart inflow configuration of the speified AxisDescription.

Parameters:
axisConfig - AxisConfiguration to find the AxisDescription from.
serviceId - Service identifier
operationSOAPAction - SOAPAction of the operation (optional)
Throws:
org.wso2.wsf.common.ServerException