On Thu, Jul 30, 2009 at 11:13, Ian Boston<i...@tfd.co.uk> wrote:
> For just the AuthN part I think you need to implement the LoginModulePlugin
> rather than implementing the login protocol (eg Httpbasic, form etc).

I am implementing LoginModulePlugin but don't quite understand what
you mean by not implementing the login protocol.

> LoginModulePlugin.canHandle(credentials) should return true for credentials
> that have some hope of being authenticated agains LDAP.

Gotcha, done.

> LoginModulePlugin.getAuthentication(Principal principal,
>            Credentials creds)
>
> should return something capable of authenticating the credentials (probably
> already has done so).

Also done.

Thanks for the pointers.

Reply via email to