04-21-07 12:11 PM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-365.
---------------------------------------
Closing all issues created in 2005 and before which are marked resolved
> Custom authenticator is never called
> ------------------------------------
>
> Key: DIRSERVER-365
> URL: https://issues.apache.org/jira/browse/DIRSERVER-365
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Giamma
> Assigned To: Trustin Lee
>
> I wrote a custom authenticator that will authenticate against our database
.
> The problem is that it's never called in AuthenticationService.process().
> It looks like process() will loop through the configured authenticator, st
arting with the default one:
> for (Iterator i = authenticators.iterator(); i.hasNext(); idx++) {
> try {
> Authenticator authenticator = (Authenticator) i.next();
> // perform the authentication
> LdapPrincipal authorizationId = authenticator.authenticate
(ctx);
> .....
> }
> }
> Unfortunately SimpleAuthenticator will generate a LdapNameNotFoundExceptio
n exception and process() will just bail out.
> Instead it should try the next authenticator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|