Hi Carl

At the moment you can register more than one AuthenticationHandler,
but when SlingAuthenticator calls them the first one which does not
return null on extractCredentials "wins" and no further
AuthenticationHandler will be called.
You will also be able to make an own implementation of
AuthenticationHandler which checks for different ways to
authenticate your user, without the need of registering multiple
AuthenticationHandler.
See also [1] for more details.

[1] http://sling.apache.org/site/authentication-framework.html

best regards
mike


> -----Original Message-----
> From: Carl Hall [mailto:[email protected]]
> Sent: Tuesday, May 04, 2010 3:39 PM
> To: [email protected]
> Subject: Fall Through Authn
>
>
> Is it possible to have multiple authentication handlers or
> login module
> plugins take a stab at authenticating a user?  My particular
> case is that I
> have a form authn handler with a LoginModulePlugin that
> authenticates with
> LDAP.  If LDAP fails to authenticate the user, I would like
> to check the
> local JCR user manager.
>

Reply via email to