| java.lang.Object com.sun.jbi.internal.security.HttpSecurityHandler
authenticateSenderRequest | public Subject authenticateSenderRequest(HttpServletRequest request, Endpoint endpoint, Subject subject) throws HttpErrorResponseException(Code) | | Authenticate a HttpServletRequest.
If the Endpoint requires SSL Client Authentication, this method gets the Client
Certificate from the request and authenticates the Sender. If a Client Certificate
is missing an exception is thrown.
If the Endpoint does not require SSL Client Authentication none of the above steps
are performed and an empty Subject is returned. This method does not return a null
Subject to avoid NullPOinterExceptions.
Parameters: request - is the HttpServletRequest. Parameters: endpoint - is the targeted Endpoint Parameters: subject - is the Sender Subject to be updated, if null a new one is created. throws: HttpErrorResponseException - when the processing results in a Http Errorresponse to be sent to the client. |
|
|