• 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

Security

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What type of security features are provided in Spring ?

a) Is there support for roles and principals ?
b) If I want to restrict a component in that it can be used by a certain role (eg, only Managers), how is this achieved in Spring ?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Suman Chaudhuri:
What type of security features are provided in Spring ?

a) Is there support for roles and principals ?
b) If I want to restrict a component in that it can be used by a certain role (eg, only Managers), how is this achieved in Spring ?


Spring supports a variety of security features (authentication using a number of methods and authorization using a number of methods) through Acegi Security System for Spring. I haven't used Acegi myself but I do know it supports role-based authorization with all sorts of voting schemes and authentication using a variety of methods from LDAP to JDBC to SSO and so forth.

I'd suggest browsing the Acegi documentation (or buying a Spring book;) for more details.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic