Q1: | What are six different aspects of security? |
A1: | Six aspects of security are
|
Q2: | What are the three participants of the J2EE security domain? |
A2: | Principal represents an entity (typically a user) in the authentication system of the target environment. Role represents a security role within the application. Role Reference is used to map a coded role name onto an actual role. |
Q3: | What are the two methods of defining J2EE security? |
A3: | Declarative and programmatic. |
Q4: | What are the two EJB context methods and three HTTP Request methods used in programmatic security? |
A4: |
EJBContext.isCallerInRole() EJBContext.getCallerPrincipal() HttpServletRequest.isUserInRole() HttpServletRequest.getUserPrincipal() HttpServletRequest.getRemoteUser() |
3.17.79.20