13.07.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

also ask for a X.509 certificate file, although the response can be empty (justpress Enter). In this case, the certificate check will not be made. For details oncreating a digital certificate, refer to 10.9.1, “Generating a self-signed certificate”on page 264.8.4 Custom Trust Association InterceptorThe application server can be configured to use a third-party product to provideauthentication services, while continuing to perform authorisation. Theseproducts are often referred to as reverse proxy servers. To delegate the role ofauthentication to a reverse proxy, two conditions must be met.►►The reverse proxy must provide a Trust Association Interceptor, which<strong>WebSphere</strong> will use to receive requests from the reverse proxy server.A trust association between <strong>WebSphere</strong> and the reverse proxy must beestablished.In order to provide an interceptor, thecom.ibm.websphere.security.TrustAssociationInterceptor interface, whichdefines three methods, must be implemented.►►►public boolean isTargetInterceptor(HttpServletRequest) throwscom.ibm.websphere.security.WebTrustAssociationExceptionDetermines whether the request originated with the proxy server associatedwith the interceptor. The implementation code must examine the incomingrequest object and determine if the proxy server forwarding the request is avalid proxy server for this interceptor.public void validateEstablishedTrust(HttpServletRequest) throwscom.ibm.websphere.security.WebTrustAssociationFailedExceptionDetermines whether or not the proxy server from which the request originatedis trusted. This method is called after the isTargetInterceptor method. Theimplementation code must authenticate the proxy server. The authenticationmechanism is proxy-server-specific.public String getAuthenticatedUsername(HttpServletRequest) throwscom.ibm.websphere.security.WebTrustAssociationUserExceptionThe application server has accepted the proxy server's authentication of therequest and must now authorise the request. This method extracts therequest’s user name from the HTTP header to allow for authorisation.190 <strong>IBM</strong> <strong>WebSphere</strong> <strong>V5.0</strong> <strong>Security</strong> Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!