This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
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