This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 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 » Engineering » Security
Bookmark "JAAS multi roles in users" Watch "JAAS multi roles in users" New topic
Author

JAAS multi roles in users

onnegai onnegaim
Greenhorn

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?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS multi roles in users