Announcement Announcement Module
Collapse
No announcement yet.
Standalone authorization feature in acegi Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      Thank you Ben for the info
      regards,
      vinay

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment

          Working...
          X