WebObjects 5.2.3

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(Object aDelegate), WOWebServiceClient.setSecurityDelegate(Object aDelegate)

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

ONFAULTCLIENTREQUEST

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


ONFAULTCLIENTRESPONSE

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


ONFAULTSERVERREQUEST

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


ONFAULTSERVERRESPONSE

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


PROCESSCLIENTREQUEST

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


PROCESSCLIENTRESPONSE

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


PROCESSSERVERREQUEST

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


PROCESSSERVERRESPONSE

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

Method Detail

onFaultClientRequest

public 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

public 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

public 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

public 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

processClientRequest

public 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

public 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

public 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

public 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

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.