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

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

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

User Registry<br />

Client<br />

1. Request<br />

2. Auth. Challenge<br />

3. Challenge<br />

Response<br />

BA Header:<br />

c_user:c_pwd<br />

WebSEAL<br />

c_user<br />

c_pwd<br />

4. Authenticate<br />

5: Request<br />

BA Header:<br />

tai_user:tai_pwd<br />

iv_user: c_user<br />

iv_groups: c_groups<br />

iv_creds: c_creds<br />

6. Authenticate<br />

TAI<br />

tai_user<br />

tai_pwd<br />

<strong>WebSphere</strong><br />

Application Server<br />

8: Response<br />

7: Response<br />

user:<br />

c_user<br />

Figure 12-7 TAI Information Flow<br />

1. An unauthenticated client issues a request for a secure resource which is<br />

intercepted by the reverse proxy (WebSEAL).<br />

2. WebSEAL issues an HTTP authentication challenge to the client. Note that<br />

WebSEAL could be configured to provide a login form instead, but the overall<br />

flow of information would remain the same.<br />

3. The client responds to the authentication challenge with a new request<br />

containing the client’s userid (c_user) and password (c_pwd) in the HTTP<br />

Basic Authenticaion (BA) Header.<br />

4. WebSEAL authenticates the user against the user registry using c_user and<br />

c_pwd.<br />

5. WebSEAL modifies the BA Header so that the userid (tai_user) and password<br />

(tai_pwd) are those expected by the Trust Association Interceptor. It attaches<br />

the client’s userid and, optionally, group membership and credentials into an<br />

additional HTTP headers (iv_user, iv_groups, and iv_creds) that are sent<br />

along with the request to <strong>WebSphere</strong>.<br />

6. <strong>WebSphere</strong>’s Trust Association Interceptor authenticates the userid and<br />

password contained in the BA header(tai_user:tai_pwd) in order to establish<br />

trust, and then extracts the client’s identity (c_user) from the iv_user header.<br />

<strong>WebSphere</strong> then handles the request as comming from c_user.<br />

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

8. WebSEAL sends the output to the client.<br />

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