Results 1 to 2 of 2

Thread: Spring Security solutions for hierarchy tree roles

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Default Spring Security solutions for hierarchy tree roles

    I know Spring Security is good for standard role and permission based authorisation. What I'm not sure is this scenario:

    There are 10,000 employees managed in the system, employees organised into an org chart (a tree of who reports to who across departments). Some of these employees are users. These users are only permitted to access employees in their line of responsibility (their branch in the tree / a descendant of their employee).

    So I am wondering how do modern J2EE (or other) systems manage these checks? Can Spring Security (ACL) do this and How can it be modelled?

    Our old implementation (many years ago) is when a user accesses an employee we can check whether the requested employee is a descendant by recursing up the tree. But this is not the ideal solution and we want to use a new solution.

  2. #2
    Join Date
    Mar 2007
    Posts
    566

    Default

    Look into package org.springframework.security.access.hierarchicalro les.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •