Results 1 to 3 of 3

Thread: Changing user role mapping post login?

  1. #1
    Join Date
    Oct 2006
    Posts
    100

    Default Changing user role mapping post login?

    A spring security newbie question...

    I am designing a new web app that plans to use Spring Security for log-in and user to functional role mapping.

    The design of this app includes a 'workspace' concept, where a user is able to switch focus between different workspaces as part of the web app GUI. The challenge is that a user's role could vary between different workspaces. For example, a user could be have an administrator role for 'workspace A' and have a simple 'user' role in 'workspace B'.

    With Spring Security is it possible to change a user's role settings post log-in? If so, how?

  2. #2
    Join Date
    Oct 2006
    Posts
    100

    Default

    The other possibility is to have role checking functionality that can accept two input parameters - i.e. workspace and role name - rather than just role name.

    Thought?

  3. #3
    Join Date
    Dec 2009
    Location
    India
    Posts
    108

    Default

    I think you should try using spring security ACL and manage ACLs for your workspace objects. The reference docs as well as the ACL sample explains the same in detail

Posting Permissions

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