Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Vivek Alampally
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will be posting this in Official Spring forum.


Thanks,
Vivek
 
Vivek Alampally
Ranch Hand
Posts: 67
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic