16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

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

Chapter 8 – Security 147<br />

Figure 8.2 – Create a security realm<br />

The Community Edition admin console provides four predefined realm types and their wizards such<br />

as: Properties File Realm, LDAP Realm, Database (SQL) Realm and Certificate Properties File<br />

Realm. Each can map to one physical method to store user IDs, passwords and group information.<br />

For more information, review the Community Edition manuals at<br />

http://publib.boulder.ibm.com/wasce/V2.1.1/en/security-realms.html<br />

Note:<br />

Using the LDAP realm, groups and users are defined in an LDAP server; this is<br />

the most common choice in a production environment. For simplicity, we use the<br />

Properties File Realm.<br />

3. In the Create Security Realm - Step 2 panel input the location of Users File and Groups File. First,<br />

let's create two files as illustrated in Listing 8.1 and 8.2 below.<br />

andy=aaa<br />

bill=bbb<br />

cindy=ccc<br />

dan=ddd<br />

Listing 8.1 - hello_users.properties<br />

employee=andy,cindy,dan<br />

manager=bill<br />

Listing 8.2 - hello_groups.properties

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

Saved successfully!

Ooh no, something went wrong!