Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAAS multi roles in users

 
onnegai onnegaim
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic