SEC-1842: Allow custom authenticationManager with namespace config #2076

Closed
spring-issuemaster opened this Issue Oct 26, 2011 · 3 comments

1 participant

@spring-issuemaster

Jean-Pierre Bergamin (Migrated from SEC-1842) said:

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.

@spring-issuemaster

Luke Taylor said:

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

@spring-issuemaster

Luke Taylor said:

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

@spring-issuemaster

Jean-Pierre Bergamin said:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment