> It was my first idea for create a LoginModulePlugin and maybe an
> AccessManagerPlugin but I'm wondering if it is not easier in my case
> to just create a custom implementation of UserManager because my
> authentication process is the same as the Sling default one but with
> the usage of a different/external user storage.
>
> What do you think about that ? Is not a good solution ?

You might have a look at [1]. This approach would be to implement a
custom o.a.s.engine.auth.AuthenticationHandler like it´s done in [2].

Regards,

Juanjo.

[1] http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/openidauth
[2] 
http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/openidauth/src/main/java/org/apache/sling/openidauth/impl/OpenIDAuthenticationHandler.java

Reply via email to