my dog learned polymorphism*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes tag name -assign the role required to have access to an EJB method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "tag name -assign the role required to have access to an EJB method" Watch "tag name -assign the role required to have access to an EJB method" New topic
Author

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

Poobhathy Kannan
Ranch Hand

Joined: May 26, 2004
Posts: 94
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...


http://learnertobeginner.blogspot.com/
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
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.


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tag name -assign the role required to have access to an EJB method