4 Replies Latest reply on Jun 6, 2014 11:04 AM by hchiorean

    Is there a way to have the repository load a Custom authentication provider programatically?

    bjconlan

      Before trying to seriously implement a spring security authentication provider for ModeShape 4 I was wondering if there was a way to programatically set or register an AuthenticationProvider impl. against a repository/engine. I've been looking though the repository configuration class and found it only exposes jaasSecurity and anonymousSecurity instances (getCustomProviders is protected).

       

      Is it possible to register an instantiated AuthenticationProvider implementation (as it depends on some injected services)? Or is only loading via a configuration supported?