This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Security and the fly likes Spring Security-- How to add/ remove  authorities of  the user after he logs in. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Security
Bookmark "Spring Security-- How to add/ remove  authorities of  the user after he logs in." Watch "Spring Security-- How to add/ remove  authorities of  the user after he logs in." New topic
Author

Spring Security-- How to add/ remove authorities of the user after he logs in.

Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
Hi All,
I am working on Spring security now. What it does is while the user logs in, at that time only it loads all the authorities which belong to that user. So my question is
How can we change(add/remove) the authorities of the user while in session. Dumb solution is add authority to the user and make him log out.
But I want a better solution without making a redirect to login page.


Thanks,
Vivek.
Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
I will be posting this in Official Spring forum.


Thanks,
Vivek
Vivek Alampally
Ranch Hand

Joined: Jul 10, 2008
Posts: 67
The solution for this issue can be found at http://forum.springsource.org/showthread.php?109288-Spring-Security-How-to-add-remove-authorities-of-the-user-after-he-logs-in.
 
 
subject: Spring Security-- How to add/ remove authorities of the user after he logs in.