16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

148 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

In Listing 8.1, you define the user’s id and password pairs. In Listing 8.2 you define the group and user<br />

pairs. If there are many users that belong to one group, separate each user id <strong>with</strong> a comma.<br />

Secondly, copy the above files into the /var/security folder. Then input the file<br />

names including the relative path as shown in Figure 8.3<br />

Figure 8.3 – Provide the property files for users and groups<br />

The Digest Algorithm field indicates the type of encryption that will be used to create the binary<br />

representation of the password, such as MD5 or SHA. The Digest Encoding field indicates the text format<br />

that will be used to store the binary representation. The two supported formats are HEX and BASE64.<br />

Leave both of them empty for this book.<br />

4. Then you can choose Skip Test and Deploy. The new security realm is now visible in the Security<br />

Realms portlet in the Community Edition console as illustrated in Figure 8.4.<br />

Figure 8.4 – New security realm: helloRealm

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

Saved successfully!

Ooh no, something went wrong!