Results 1 to 5 of 5

Thread: Standalone authorization feature in acegi

  1. #1

    Default Standalone authorization feature in acegi

    Hi,
    I would like to know if it is possible to use acegi only to access the authorization part of the framework as i already have authentication being carried out by another framework
    regards,
    vinay

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    Yes, and a lot of people do this.

    All you need is ensure the SecurityContextHolder.getContext().setAuthenticati on(Authentication) is setup. You'll generally construct an Authentication from whatever your existing authentication system provides.
    Ben Alex
    Project Founder, Spring UAA, Spring Roo and Spring Security

  3. #3

    Default

    Thank you Ben for the info
    regards,
    vinay

  4. #4
    Join Date
    May 2006
    Posts
    6

    Default Standalone authorization feature in acegi

    Hi Ben,

    I am facing precisely the same problem where my authentication is done by some other system. I am new to acegi and would really appreciate if you could provide few more implementation details on how exactly to achieve this.

    Thanks in anticipation,
    Amit

  5. #5
    Join Date
    May 2006
    Posts
    5

    Default

    Hi,
    same for me
    How could you implement the fact that authentication info comes from one system (dedicated AuthenticationProviderA) and authorisations from another (we cannot modify AuthenticationProviderA...).

    Like having a second AuthenticationProvider, chained after the 1st one but who fills only the authorities...

    Thanks

Posting Permissions

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