In the explanation, it says the bean provider may also specify method permission.
I want to add one note:
According the JSR 318 p 495, "The bean provider or application assembler defines method permissions relation in the deployment descriptor using the method-permission elements".
So, if the question asks who define method permissions, I would say bean provider or application assembler.
Bean providers use annotations such as @DenyAll, @RolesAllowed or @PermitAll.
Application assemblers or bean provider can use deployment descriptor to define method permissions.
enthuware.oce-ejbd.v6.2.524
Moderator: admin
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
-
- Site Admin
- Posts: 10386
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: enthuware.oce-ejbd.v6.2.524
Good point.
Who is online
Users browsing this forum: No registered users and 5 guests