| Author |
How to set the Roles of a user
|
Sebastiaan Kortleven
Ranch Hand
Joined: Mar 12, 2004
Posts: 81
|
|
Hi there, I'm working on a custom LoginModule for JAAS. I believe I have it all working, the loginmodule is called and completes without errors. But I don't know where the loginmodule should save the users roles... (I got a collection of roles for a certain user, but where do I put these?) I would like to use the isUserInRole from the SessionContext... I couldn't find much useful information, so I'm turning to you guys. Anyone who can point me to some docs or help me on my way? tnx! [ March 22, 2004: Message edited by: Sebastiaan Kortleven ]
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 12513
|
|
J2EE Security For Servlets, EJBs, and Web Services by Pankaj Kumar (Prentice-Hall), p 129 "running code on behalf of a user":
Does that help? [ March 26, 2004: Message edited by: Tim Holloway ]
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
 |
|
|
subject: How to set the Roles of a user
|
|
|