mdarifmustafa / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

ldaptive: design LdapLoginModule for extensibility #202

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I worked with the JAAS LdapLoginModule some time ago and I found it difficult 
to extend to include a custom functionality during the login process. 

I think it would be nice to allow subclasses to provide their own NameCallback 
and Password Callback instances or use a callback interface for login events. 
This will ease the extensibility of the functionality you guys already provide.

I attached my idea of how this extensibility should look like, leaving the 
public contract untouched. Please have a look through it.

Thanks,
Alin

What version of the product are you using? On what operating system?
vtldap 4.0

Original issue reported on code.google.com by alinache...@gmail.com on 14 Dec 2013 at 12:01

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 10 Mar 2014 at 7:05

GoogleCodeExporter commented 8 years ago
vt-ldap has been replaced with www.ldaptive.org
Reviewing this patch for inclusion.
The JAAS code moved from vt-ldap without much modification.

Original comment by dfis...@gmail.com on 10 Mar 2014 at 7:06

GoogleCodeExporter commented 8 years ago
Most of this functionality is available in ldaptive with the use of an 
AuthenticationResponseHandler.
However, it does not provide exception handling.
Did you have a specific use case for handling authentication exceptions?

Original comment by dfis...@gmail.com on 14 Mar 2014 at 5:16

GoogleCodeExporter commented 8 years ago
The AuthenticationResponseHandler provides this functionality.

Original comment by dfis...@gmail.com on 23 Oct 2014 at 2:56