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.

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

6. Navigate to the <strong>Application</strong>s -> Deploy New portlet, and deploy your plan as shown in Figure<br />

8.10<br />

Figure 8.10 – Deploy the plan<br />

8.8 Review questions<br />

1. What is a security realm?<br />

2. Why do you need to define role mapping?<br />

3. What is the difference between the two types of role-based security?<br />

4. How do you manage Community Edition’s administrative security?<br />

5. Why would using trusted contexts improve security and performance in a Java EE application<br />

using Community Edition and DB2?<br />

6. Which file should you provide when defining a properties file realm?<br />

A. Users’ properties file<br />

B. Group’s properties file<br />

C. A and B<br />

D. Neither A nor B<br />

E. Only one of A or B<br />

7. Which is the pre-defined security realm type provided by Community Edition?<br />

A. Properties File Realm<br />

B. LDAP Realm<br />

C. Database (SQL) Realm<br />

D. Certificate Properties File Realm<br />

E. All of the above<br />

8. Which are the annotations used in declarative security? (Multi-choice)<br />

A. @DeclareRoles

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

Saved successfully!

Ooh no, something went wrong!