public interface SOAPRequestHandlerInterface
SOAPRequestHandlerInterface
provides the interfaces
to process and secure the in-bound or out-bound SOAPMessage
s
of the web service clients and web service providers.Modifier and Type | Method and Description |
---|---|
void |
init(Map config)
Initializes the handler with the given configuration.
|
String |
print(Node node)
Prints a Node tree recursively.
|
SOAPMessage |
secureRequest(SOAPMessage soapMessage,
Subject subject,
Map sharedState)
Secures the
SOAPMessage request by adding necessary
credential information. |
SOAPMessage |
secureResponse(SOAPMessage soapMessage,
Map sharedState)
Secures the SOAP Message response to the client.
|
Object |
validateRequest(SOAPMessage soapRequest,
Subject subject,
Map sharedState,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Authenticates the
SOAPMessage from a remote client. |
void |
validateResponse(SOAPMessage soapMessage,
Map sharedState)
Validates the SOAP Response from the service provider.
|
void init(Map config) throws SecurityException
config
- the configuration map to initializate the provider.SecurityException
- if the initialization fails.Object validateRequest(SOAPMessage soapRequest, Subject subject, Map sharedState, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws SecurityException
SOAPMessage
from a remote client.soapRequest
- SOAPMessage that needs to be validated.subject
- the subject that may be used by the callers
to store Principals and credentials validated in the request.sharedState
- that may be used to store any shared state
information between validateRequest and
request
- the HttpServletRequest
associated with
this SOAP Message request.response
- the HttpServletResponse
associated with
this SOAP Message response.SecurityException
- if any error occured during validation.SOAPMessage secureResponse(SOAPMessage soapMessage, Map sharedState) throws SecurityException
soapMessage
- SOAP Message that needs to be secured.sharedState
- a map for the callers to store any state information
between validateRequest
and
secureResponse
.SecurityException
- if any error occurs during securing.SOAPMessage secureRequest(SOAPMessage soapMessage, Subject subject, Map sharedState) throws SecurityException
SOAPMessage
request by adding necessary
credential information.soapMessage
- the SOAPMessage
that needs to be secured.subject
- the Subject of the authenticating entity.
sharedState
- Any shared state information that may be used between
the secureRequest
and validateResponse
.SecurityException
- if any failure for securing the request.void validateResponse(SOAPMessage soapMessage, Map sharedState) throws SecurityException
soapMessage
- the SOAPMessage
that needs to be
validated.sharedState
- Any shared data that may be used between the
secureRequest
and validateResponse
.SecurityException
- if any failure occured for validating the
response.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.