Forums Register Login

tag name -assign the role required to have access to an EJB method

+Pie Number of slices to send: Send
Type in the tag name (without opening and closing braces) that allows you to assign the role required to have access to an EJB method

Answer:
Method permissions are defined in the deployment descriptor as a binary relation from the set of security roles to the set of methods of the home and component interfaces of session and entity bean's, including all their superinterfaces (including the methods of the EJBHome and EJBObject interfaces and/or EJBLocalHome and EJBLocalObject interfaces).

My View: role-name

please clarify...
+Pie Number of slices to send: Send
Why don't you explain your answer instead? Tell us what led to your choice of role-name?

Think about the purpose/usage of role-name tag. If you're not sure, refer to the DTD for its exact description. Don't assume what you thought about it is correct.

Always refer to the EJB specifications & DTD when in doubt.
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 674 times.
Similar Threads
Doubt in the http-method
Assigning EJB permissions to private methods ?
Some important doubts on security, Session and Entity beans....
Cleared SCBCD last week.. some notes
Run-as security identity functionality
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 22:49:10.