Multiple LDAP authentication issue

Description

Unable to chain multiple LDAP authentications, either using FastBindLdapAuthenticationHandler or BindLdapAuthenticationHandler. The first LDAP authentication that fails makes the whole authentication fail (an AuthenticationException is thrown indeed).

In order to work, I made a workaround in the org.jasig.cas.authentication.AuthenticationManagerImpl.authenticateAndObtainPrincipal by replacing

} catch (final Exception e) {
handleError(handlerName, credentials, e);
}

with

} catch(final AuthenticationException ae) {
log.info("{} failed authenticating {}", handlerName, credentials);
} catch (final Exception e) {
handleError(handlerName, credentials, e);
}

Do you think you could integrate this workaround in the cas-server-core release ?

Best Regards

Environment

None

Activity

Show:

Misagh MoayyedJuly 15, 2014 at 7:10 AM

All Open JIRA issues are now moved to Github, and tracked under Github Issues. The migration is now complete. Please use Github issue tracking to file and track issues. JIRA issues will be closed.

The URL address for Github issues of the CAS project is:
https://github.com/Jasig/cas/issues

Proposal Declined

Details

Assignee

Reporter

Affects versions

Priority

Created April 22, 2014 at 4:13 PM
Updated July 15, 2014 at 7:10 AM
Resolved July 15, 2014 at 7:10 AM

Flag notifications