File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes JAAS multi roles in users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "JAAS multi roles in users" Watch "JAAS multi roles in users" New topic

JAAS multi roles in users

onnegai onnegaim

Joined: Jan 12, 2013
Posts: 1
I'd like some suggestions to create a security pages using jaas that users have multiple roles each. For exemple,

DirectoryA - role-admin
DirectoryB - role-management, role-admin
DirectoryC - role-vendor, role-admin
DirectoryD - role-telephonist, role-admin

I'd like create a users with permissions in directoryA and directoryD or directoryB and directoryC.
And I saw that JAAS do not allow any user not may have more than one roles.
How can I resolve this problem?

I agree. Here's the link:
subject: JAAS multi roles in users
It's not a secret anymore!