This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes How to use isUserInRole in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to use isUserInRole in jboss" Watch "How to use isUserInRole in jboss" New topic
Author

How to use isUserInRole in jboss

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Hello all
Simple question , how can I use isUserInRole when user making request to the jboss server via ejb3 /jndi
Something like request.isUserInRole in tomcat
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
163

Do you mean, you want to check whether the user is in some role, inside an EJB? There's a API isCallerInRole on the SessionContext which you can use in the EJB. Here's the API


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use isUserInRole in jboss
 
Similar Threads
JSF access control
LDAP Question
Tiles and Roles
Adding users for security role
how to integrate pow2acl with struts