public interface HttpSecurityHandler
| Modifier and Type | Method and Description |
|---|---|
Subject |
authenticateSenderRequest(javax.servlet.http.HttpServletRequest request,
Endpoint endpoint,
Subject subject)
Authenticate a HttpServletRequest.
|
Subject |
authenticateSenderRequest(X509Certificate cert,
Endpoint endpoint,
Subject subject)
Authenticate the Sender Request by getting the Sender identity from the
Certificate.
|
URLConnection |
createSecureClientConnection(URL serverURL,
Endpoint endpoint)
Make this a secure Connection.
|
Subject authenticateSenderRequest(javax.servlet.http.HttpServletRequest request, Endpoint endpoint, Subject subject) throws HttpErrorResponseException
request - is the HttpServletRequest.endpoint - is the targeted Endpointsubject - is the Sender Subject to be updated, if null a new one is created.HttpErrorResponseException - when the processing results in a Http ErrorSubject authenticateSenderRequest(X509Certificate cert, Endpoint endpoint, Subject subject) throws HttpErrorResponseException
cert - is the trusted X.509 Certificate.endpoint - is the targeted Endpointsubject - is the Sender Subject to be updated, if null a new one is created.HttpErrorResponseException - when the processing results in a Http Error
response to be sent to the client.URLConnection createSecureClientConnection(URL serverURL, Endpoint endpoint) throws IOException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException, CertificateException, UnrecoverableKeyException
serverURL - Is the Server URL the secure connection is being made to.endpoint - is the Endpoint on behalf of which the secure connection
is being made.KeyStoreException - when a problem is encountered accessing the KeyStoreNoSuchAlgorithmException - If the TLS algorithm is unknownKeyManagementException - on KeyMamagement errors.CertificateException - on certificate related problems.UnrecoverableKeyException - If a required Key cannot be obtained from the
store.IOException - on IO realted errors.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.