0 votes
33 views
in Technology by (230k points)

Which are the attributes of Container Managed Security?

1 Answer

0 votes
by (230k points)
EJB 3.0 has specified following attributes/annotations of security which EJB containers implement:

DeclareRoles - Indicates that class will accept those declared roles. Annotations are applied at class level.

RolesAllowed - Indicates that a method can be accessed by user of role specified. Can be applied at class level resulting which all methods of class can be accessed buy user of role specified.

PermitAll - Indicates that business method is accessible to all. Can be applied at class as well as at method level.

DenyAll - Indicates that business method is not accessible to any of user specified at class or at method level.

Related questions

0 votes
1 answer 26 views
0 votes
1 answer 21 views
0 votes
1 answer 14 views
0 votes
1 answer 31 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 17 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
0 votes
1 answer 51 views
0 votes
1 answer 24 views
asked Nov 7, 2020 in Technology by JackTerrance (230k points)
+1 vote
1 answer 25 views
0 votes
1 answer 46 views
0 votes
1 answer 54 views
0 votes
1 answer 15 views
0 votes
1 answer 25 views
0 votes
1 answer 28 views
0 votes
1 answer 721 views
0 votes
1 answer 147 views
0 votes
1 answer 23 views
0 votes
1 answer 40 views
...