
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
12/Aug/05 04:50 PM
|
|
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.
|
|
Description
|
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.
|
Show » |
|