Which roles is the deployer expected to map to users or user groups?

A deployer is given the following session bean:
10.©Stateless
11. @RolesAllowed(“BATH”)
12. @DeclareRoles(“SOAP”)
13. public class ShowerBean implements Shower {
14. public void plugO {} 15.}
and the following associated excerpt from the ejb-jar.xml descriptor file:
20. <assembly-descriptor>
21. <security-role>
22. <role-name>TOWEL</role-name>
23. </security-role>
24. </assembly-descriptor>
Which roles is the deployer expected to map to users or user groups?

A deployer is given the following session bean:
10.©Stateless
11. @RolesAllowed(“BATH”)
12. @DeclareRoles(“SOAP”)
13. public class ShowerBean implements Shower {
14. public void plugO {} 15.}
and the following associated excerpt from the ejb-jar.xml descriptor file:
20. <assembly-descriptor>
21. <security-role>
22. <role-name>TOWEL</role-name>
23. </security-role>
24. </assembly-descriptor>
Which roles is the deployer expected to map to users or user groups?

A.
TOWEL

B.
BATHandSOAP

C.
BATH and TOWEL

D.
BATH and SOAP and TOWEL



Leave a Reply 0

Your email address will not be published. Required fields are marked *