• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to add role for a user in Spring

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark,

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


Thanks & Regsrds,
Sijesh
 
Bartender
Posts: 1682
7
Android Mac OS X IntelliJ IDE Spring Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic