Spring Security
  1. Spring Security
  2. SEC-1842

Allow custom authenticationManager with namespace config

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.7
    • Fix Version/s: None
    • Component/s: Core, Namespace
    • Labels:
      None

      Description

      Namespace configuration should allow the usage of a custom AuthenticationManager. In our case, this AuthenticationManager would be an imported OSGi service.

      If the namespace config really must rely on having a ProviderManager (and not only an AuthenticationManager as expected), an Interface for ProviderManager should be introduced so that it can be e.g. published as an OSGi service via this interface.

        Activity

        Hide
        Luke Taylor added a comment -

        You can now set custom AuthenticationManager references in the namespace, using the authentication-manager-ref attribute introduced in SEC-1847.

        Is is actually still possible to override the default global AuthenticationManager by registering a bean with the same name (rather than using the authentication-manager namespace element).

        Show
        Luke Taylor added a comment - You can now set custom AuthenticationManager references in the namespace, using the authentication-manager-ref attribute introduced in SEC-1847 . Is is actually still possible to override the default global AuthenticationManager by registering a bean with the same name (rather than using the authentication-manager namespace element).
        Hide
        Luke Taylor added a comment -

        Marking as "Won't fix" since this is superseded by SEC-1847.

        Show
        Luke Taylor added a comment - Marking as "Won't fix" since this is superseded by SEC-1847 .
        Hide
        Jean-Pierre Bergamin added a comment -

        That sounds like what we really needed. Thanks for introducing this so quickly.

        Show
        Jean-Pierre Bergamin added a comment - That sounds like what we really needed. Thanks for introducing this so quickly.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Jean-Pierre Bergamin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: