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.

correct. Then it trusts that the identity of the request is c_user, as specified in<br />

the LTPA token.<br />

6. <strong>WebSphere</strong> sends output to WebSEAL.<br />

7. WebSEAL sends the output to the client. WebSEAL does not send the LTPA<br />

cookie to the client, but rather the cookie is stored in WebSEAL’s LTPA cache.<br />

This is advantageous since LTPA tokens, if sent to the client over the Internet,<br />

could be decrypted over time. Because the LTPA signature never changes,<br />

intercepting LTPA cookies and cracking LTPA tokens would be an easy and<br />

effective way to breach an otherwise secure environment.<br />

Configuring an LTPA-enabled WebSEAL Junction<br />

The following procedure will describe the steps necessary to configure<br />

<strong>WebSphere</strong> to trust LTPA tokens that are issued by WebSEAL. This involves<br />

generating an LTPA key file on the <strong>WebSphere</strong> server, copying the key file to the<br />

WebSEAL server, and using the key file when configuring the WebSEAL<br />

junction.<br />

1. On the <strong>WebSphere</strong> Administrative Console, click <strong>Security</strong> -> Authentication<br />

Mechanisms -> LTPA to see the LTPA configuration panel, as shown in<br />

Figure 12-5.<br />

2. Change the password if necessary.<br />

Note: The first time that security is enabled with LTPA as the<br />

authentication mechanism, LTPA keys are automatically generated with<br />

the password entered in the panel. In this procedure, however, LTPA keys<br />

will be generated manually so that they can be immediately exported and<br />

copied to the WebSEAL server.<br />

3. Click the Generate Keys button.<br />

4. In the Key File Name field, enter the full path of a file on the <strong>WebSphere</strong><br />

server where the key file should be placed.<br />

5. Click Export Keys to create the exported key file. The LTPA key file is a text<br />

file which will look something like the one shown in Example 12-1.<br />

Example 12-1<br />

#<strong>IBM</strong> <strong>WebSphere</strong> Application Server key file<br />

#Thu Aug 15 14:28:47 EDT 2002<br />

com.ibm.Websphere.CreationDate=Thu Aug 15 14\:28\:47 EDT 2002<br />

com.ibm.Websphere.ltpa.version=1.0<br />

com.ibm.Websphere.ltpa.3DESKey=/VrD4i4I8XIiXK6AF/ELOiM9YRgH8IVdp7ji+BJPSDM\=<br />

com.ibm.Websphere.CreationHost=appsrv02<br />

388 <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!