29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

In order to use the J2EE role-based security mechanisms provided by Express<br />

<strong>Application</strong> <strong>Server</strong>, you first must turn on <strong>WebSphere</strong> global security for the<br />

server. You can do this from the server configuration.<br />

1. Switch to the <strong>Server</strong> perspective.<br />

2. Open the appropriate server configuration in the <strong>Server</strong> Configuration view.<br />

3. Switch to the Security tab.<br />

4. Select the Enable Security option.<br />

5. Enter a user ID and password. This can be any valid user on the server<br />

operating system. The user ID and password will be used when starting the<br />

server. Note that if you leave this blank or fill in a user ID/password<br />

combination that is not valid, you will not be able to start the server.<br />

Figure 16-11 Global security<br />

You will need to republish the application and restart the server for all changes to<br />

take effect. The next time you attempt to execute the JSP, you will be challenged<br />

for a user ID and password. The user ID you enter must be assigned the<br />

CatalogAdmin role.<br />

Chapter 16. Security 567

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

Saved successfully!

Ooh no, something went wrong!