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.

3. On the back-end server, the Bouncer session EJB captures the message,<br />

attaches its own message with the caller’s user name, and returns the<br />

message to the front-end server.<br />

4. The PassThrough session EJB gets the response, attaches its own message<br />

together with the caller’s user name; client is the caller.<br />

5. The client gets the response back from the front-end server and dumps it out<br />

to the standard out.<br />

J<br />

J2EE client<br />

PassThrough<br />

Bean<br />

Bouncer<br />

Bean<br />

Figure 6-2 Identity Assertion application<br />

There is a .properties file for the application, which stores the information for the<br />

EJB clients, where to find the EJB server. It is stored in the<br />

IDAssertionCommon.jar file, called ejblocations_en_US.properties. You can<br />

modify the settings using the Application Assembly Tool, <strong>WebSphere</strong> Studio or<br />

editing the file in the deployed application. Specify the following properties for the<br />

application, for example:<br />

ejb.front.server.hostname=server01<br />

ejb.front.server.port=2809<br />

ejb.back.server.hostname=server02<br />

ejb.back.server.port=2809<br />

Leave the bean names unchanged.<br />

The sample application is running in a three machine environment; scenario 2<br />

might require a second client machine, unless you reconfigure the first client.<br />

In this environment, the client machine is running the <strong>WebSphere</strong> Client runtime,<br />

installed from the <strong>WebSphere</strong> Client CD, while the other two systems are running<br />

the <strong>WebSphere</strong> Application Server base server.<br />

Chapter 6. Securing Java clients 109

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

Saved successfully!

Ooh no, something went wrong!