• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Poobhathy Kannan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic