WebObjects 5.4.2

com.webobjects.webservices.support
Interface WOSecurityDelegate


public interface WOSecurityDelegate

The WOSecurityDelegate interface defines methods that can be used to process incoming and outgoing responses and requests. Delegates are not required to implement all methods in the interface, nor must they use the implements keyword to specify that they implement the WOSecurityDelegate interface. Instead, they should declare and implement the necessary subset of these methods, and use the setSecurityDelegate method to assign the object as the security delegate. See the WS-Security specification, which describes a proposed standard in the Web service security space.

See Also:
WOWebServiceRegistrar.setSecurityDelegate, WOWebServiceClient.setSecurityDelegate

Field Summary
static String ONFAULTCLIENTREQUEST
          String name of the client side request undo delegate method
static String ONFAULTCLIENTRESPONSE
          String name of the client side response undo delegate method
static String ONFAULTSERVERREQUEST
          String name of the server side request undo delegate method
static String ONFAULTSERVERRESPONSE
          String name of the server side response undo delegate method
static String PROCESSCLIENTREQUEST
          String name of the client side request delegate method
static String PROCESSCLIENTRESPONSE
          String name of the client side response delegate method
static String PROCESSSERVERREQUEST
          String name of the server side request delegate method
static String PROCESSSERVERRESPONSE
          String name of the server side response delegate method
 
Method Summary
 void onFaultClientRequest(org.apache.axis.MessageContext mc)
          Called during processing of an Axis fault on the client side as a request is being sent to a server.
 void onFaultClientResponse(org.apache.axis.MessageContext mc)
          Called during processing of an Axis fault on the client as the response is being returned by the Axis stack.
 void onFaultServerRequest(org.apache.axis.MessageContext mc)
          Called during processing of an Axis fault on the server as the request is being passed through Axis to the service method.
 void onFaultServerResponse(org.apache.axis.MessageContext mc)
          Called during processing of an Axis fault on the server as the response is being returned through the Axis stack from the service method.
 void processClientRequest(org.apache.axis.MessageContext mc)
          Invoked during processing of a client side request as the request is sent out the Axis stack to a Web service.
 void processClientResponse(org.apache.axis.MessageContext mc)
          Called during processing of a client side response as the response returns to Axis from a request to a Web service.
 void processServerRequest(org.apache.axis.MessageContext mc)
          Called during processing of a server side request as the request is being received by the Axis stack.
 void processServerResponse(org.apache.axis.MessageContext mc)
          Called during processing of a server side response as the response is being returned by the Axis stack.
 

Field Detail

PROCESSCLIENTREQUEST

static final String PROCESSCLIENTREQUEST
String name of the client side request delegate method

See Also:
Constant Field Values

PROCESSCLIENTRESPONSE

static final String PROCESSCLIENTRESPONSE
String name of the client side response delegate method

See Also:
Constant Field Values

PROCESSSERVERREQUEST

static final String PROCESSSERVERREQUEST
String name of the server side request delegate method

See Also:
Constant Field Values

PROCESSSERVERRESPONSE

static final String PROCESSSERVERRESPONSE
String name of the server side response delegate method

See Also:
Constant Field Values

ONFAULTCLIENTREQUEST

static final String ONFAULTCLIENTREQUEST
String name of the client side request undo delegate method

See Also:
Constant Field Values

ONFAULTCLIENTRESPONSE

static final String ONFAULTCLIENTRESPONSE
String name of the client side response undo delegate method

See Also:
Constant Field Values

ONFAULTSERVERREQUEST

static final String ONFAULTSERVERREQUEST
String name of the server side request undo delegate method

See Also:
Constant Field Values

ONFAULTSERVERRESPONSE

static final String ONFAULTSERVERRESPONSE
String name of the server side response undo delegate method

See Also:
Constant Field Values
Method Detail

processClientRequest

void processClientRequest(org.apache.axis.MessageContext mc)
                          throws org.apache.axis.AxisFault
Invoked during processing of a client side request as the request is sent out the Axis stack to a Web service. A delegate might implement this method to add security header information to the outgoing request. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the request is being processed
Throws:
org.apache.axis.AxisFault

processClientResponse

void processClientResponse(org.apache.axis.MessageContext mc)
                           throws org.apache.axis.AxisFault
Called during processing of a client side response as the response returns to Axis from a request to a Web service. A delegate might implement this method to check security header information on the incoming response. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the response is being processed
Throws:
an - AxisFault
org.apache.axis.AxisFault

processServerRequest

void processServerRequest(org.apache.axis.MessageContext mc)
                          throws org.apache.axis.AxisFault
Called during processing of a server side request as the request is being received by the Axis stack. A delegate might implement this method to check security header information on the incoming request. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the request is being processed
Throws:
an - AxisFault
org.apache.axis.AxisFault

processServerResponse

void processServerResponse(org.apache.axis.MessageContext mc)
                           throws org.apache.axis.AxisFault
Called during processing of a server side response as the response is being returned by the Axis stack. A delegate might implement this method to add security header information to the outgoing response. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the respones is being processed
Throws:
org.apache.axis.AxisFault

onFaultClientRequest

void onFaultClientRequest(org.apache.axis.MessageContext mc)
Called during processing of an Axis fault on the client side as a request is being sent to a server. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the fault is being processed

onFaultClientResponse

void onFaultClientResponse(org.apache.axis.MessageContext mc)
Called during processing of an Axis fault on the client as the response is being returned by the Axis stack. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the fault is being processed

onFaultServerRequest

void onFaultServerRequest(org.apache.axis.MessageContext mc)
Called during processing of an Axis fault on the server as the request is being passed through Axis to the service method. A delegate might implement this method to check security header information to the outgoing response, or to remove information from the SOAP body of the response. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the fault is being processed

onFaultServerResponse

void onFaultServerResponse(org.apache.axis.MessageContext mc)
Called during processing of an Axis fault on the server as the response is being returned through the Axis stack from the service method. A delegate might implement this method to add security header information to the outgoing response, or to remove information from the SOAP body of the response. See the WS-Security specification for details about security mechanisms and Web services.

Parameters:
mc - the MessageContext in which the fault is being processed

Last updated June 2008

Copyright © 2000-2008 Apple Inc.