public class ProxyHandlerImpl extends ProxyHandler
Constructor and Description |
---|
ProxyHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getRemoteAddress(javax.servlet.http.HttpServletRequest request)
Gets the Internet Protocol (IP) source port of the client request that
was intercepted by the proxy server.
|
X509Certificate[] |
getSSLClientCertificateChain(javax.servlet.http.HttpServletRequest request)
Gets the SSL client certificate chain with which the client
had authenticated itself to the SSL offloader, and which the
SSL offloader has added as a custom request header on the
given request.
|
int |
getSSLKeysize(javax.servlet.http.HttpServletRequest request)
Returns the SSL keysize with which the original client request that
was intercepted by the SSL offloader has been protected, and which
the SSL offloader has added as a custom request header on the
given request.
|
public X509Certificate[] getSSLClientCertificateChain(javax.servlet.http.HttpServletRequest request) throws CertificateException
getSSLClientCertificateChain
in class ProxyHandler
request
- The request from which to retrieve the SSL client
certificate chainCertificateException
- if the certificate chain retrieved
from the request header cannot be parsedpublic int getSSLKeysize(javax.servlet.http.HttpServletRequest request)
getSSLKeysize
in class ProxyHandler
request
- The request from which to retrieve the SSL key
sizepublic String getRemoteAddress(javax.servlet.http.HttpServletRequest request)
getRemoteAddress
in class ProxyHandler
request
- The request from which to retrieve the IP source port
of the original client requestCopyright © 2019. All rights reserved.