03.05.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring the Interceptor<br />

In order to make an inteceptor configurable, it is necessary for it to extend<br />

com.ibm.websphere.security.<strong>WebSphere</strong>BaseTrustAssociationInterceptor.<br />

Three methods must be implemented.<br />

►<br />

►<br />

►<br />

public int init(java.util.Properties)<br />

Accepts a Properties object which contains the necessary interceptor<br />

configuration information.<br />

public int init(String)<br />

Accepts a file name for a file that contains the necessary interceptor<br />

configuration information. The format of the properties file is specified in the<br />

Infocenter.<br />

public void cleanup()<br />

Prepares the Interceptor for termination.<br />

Configuring <strong>WebSphere</strong> to use the Interceptor<br />

Once the Interceptor has been installed and the trust association is configured,<br />

the application server may receive requests from the reverse proxy server. The<br />

authentication method used must be LTPA and authentication cannot be<br />

delegated to a reverse proxy server if the user registry is LocalOS. For<br />

information regarding the configuration of <strong>WebSphere</strong> for LTPA, refer to 10.6,<br />

“LTPA” on page 250 and for Trust Association Interceptors, refer to 12.4.1,<br />

“Single Sign-On with WebSEAL” on page 386.<br />

Note: The InfoCenter provides information regarding the setup of Tivoli<br />

WebSEAL as a reverse proxy and the application server includes an<br />

implementation of the TAI for this product. Also, refer to 12.5.1, “Tivoli<br />

WebSEAL” on page 412.<br />

Custom Trust Association Interceptor<br />

This section will provide information on how to develop your own Trust<br />

Association Interceptor, how to configure a new Interceptor for <strong>WebSphere</strong> and<br />

finally how to test it.<br />

Important: The custom Trust Association Interceptor here is only provided to<br />

show how to develop a custom Interceptor. The Interceptor provided here is<br />

not secure enough to use in any real environment.<br />

Developing the custom Trust Association Interceptor<br />

The Trust Association Interceptor (TAI) for this book was developed using the<br />

<strong>WebSphere</strong> Studio.<br />

Chapter 8. Programmatic security 191

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

Saved successfully!

Ooh no, something went wrong!