Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add role for a user in Spring

 
Sijesh Alayaril
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In my application , admin can view all the modules.if some other user login then he should able to see only that modules that is part of that user and roles.How i will achieve this one Spring.Could please give the sample spring configuration for this



Thanks in Advance,



cheers,
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sijesh Alayaril wrote:Hi All,

In my application , admin can view all the modules.if some other user login then he should able to see only that modules that is part of that user and roles.How i will achieve this one Spring.Could please give the sample spring configuration for this



Thanks in Advance,



cheers,


Are you being asked these questions in an interview?

Check out Spring Security and their documentation. Makes it very easy to do. But we can't teach you all of Spring Security to answer your question, again, you need to do some work and be more specific to a problem you are having.

Thanks

Mark
 
Sijesh Alayaril
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

Could you please guide me which book is best to look for Spring Security.


Thanks & Regsrds,
Sijesh
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is only one if you want a book that addresses only Spring Security. Otherwise you will get an introduction to it in just about any book on Spring. Start with the free resources though. They have good documentation and samples available. Googling around will also result in a lot of examples and tutorials.

http://static.springsource.org/spring-security/site/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic