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.

This will generate some classes that should be referenced in the application<br />

server’s classpath. Alternatively, move the classes to the<br />

/classes directory.<br />

The application server must be configured to make use of the custom registry.<br />

1. From the navigation panel in the Administrative Console, select Custom<br />

User Registry under User Registries in the <strong>Security</strong> Center.<br />

Figure 8-2 User registry configuration<br />

2. Enter the user name and password of an identity under which the custom<br />

registry will operate. Enter the class name for the custom registry. For<br />

example, the supplied sample registry is<br />

com.ibm.websphere.security.FileRegistrySample. Click Apply.<br />

3. Click Custom Properties and add the properties necessary to initialize the<br />

registry. These properties will be passed to the initialize method of the custom<br />

registry. For the supplied FileRegistrySample code, enter the following<br />

properties.<br />

Table 8-1 FileRegistrySample initialization properties<br />

Name<br />

usersFile<br />

groupsFile<br />

Value<br />

users.props<br />

groups.props<br />

Chapter 8. Programmatic security 185

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

Saved successfully!

Ooh no, something went wrong!