Apache Directory Project - [jira] Created: (DIREVE-178) Custom authenticator is never called

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > July 2005 > [jira] Created: (DIREVE-178) Custom authenticator is never called





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (DIREVE-178) Custom authenticator is never called
Giamma (JIRA)

2005-07-05, 5:45 pm

Custom authenticator is never called
------------------------------------

Key: DIREVE-178
URL: http://issues.apache.org/jira/browse/DIREVE-178
Project: Directory Server
Type: Bug
Components: server main
Versions: 0.9
Reporter: Giamma
Assigned to: Alex Karasulu


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, starting 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 LdapNameNotFoundException exception and process() will just bail out.
Instead it should try the next authenticator.



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com