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.

6. To have the embedded messaging running, you have to stop then restart the<br />

application server.<br />

7. Create a J2C Authentication entry; select: <strong>Security</strong> -> JAAS Configuration<br />

-> J2C Authentication Data.<br />

8. Click New to create a new entry, fill out the fields with the following values:<br />

– Alias: itsobankds_auth<br />

– User ID: dbuser<br />

– Password: password<br />

9. Create the following J2C authentication alias.<br />

Table A-2 J2C Authentication alias<br />

Alias name username password<br />

itsobankjms_auth jmsuser password<br />

10.Save the configuration changes.<br />

11.Set up a the JDBC provider and the DataSource; select: Resources -><br />

Manage JDBC Providers<br />

a. Select the Server, server1 radio button, then click Apply; this will switch<br />

the scope to the server level.<br />

b. Click New.<br />

c. Select DB2 JDBC Provider (XA) for JDBC Provider. You will need to use<br />

the XA version of the driver to support the transactions in the application.<br />

d. Click OK; the JDBC provider configuration panel appears.<br />

e. Set the classpath to the correct value to reach the db2java.zip library, for<br />

example: c:/sqllib/java/db2java.zip, or set the<br />

{$MQ_INSTALL_ROOT} <strong>WebSphere</strong> variable.<br />

f. Click OK, and the list of the JDBC providers appears on the page.<br />

g. To create the datasource, select the DB2 JDBC Provider (XA) item you<br />

have just created.<br />

h. Go down in the Configuration page and click the Data Sources link.<br />

i. Click New to create a new Data source.<br />

j. Fill out the fields with the following values:<br />

Name: itsobankds<br />

JNDI Name: jdbc/itsobankds<br />

Appendix A. Sample application 455

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

Saved successfully!

Ooh no, something went wrong!