| 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: 8141
|
|
|
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]
|
 |
 |
|
|
subject: How to use isUserInRole in jboss
|
|
|