LdapExtLoginModule.addRole(String) calls:
super.createIdentity(roleName);
This attempts to get the current context classloader for the current thread. Unfortunately, this fails as the context classloader is null.
The callchain is:
createLdapInitContext->rolesSearch->addRole
Lines 432 and 433 of LdapExtLoginModule are:
if (currentTCCL != null)
SecurityActions.setContextClassLoader(null);
This clears the classloader, so the principal class cannot be loaded.
- is incorporated by
-
JBEAP-1967 (7.0.z) Upgrade PicketBox from 4.9.7 to 4.9.4.Final
- Closed
- is related to
-
SECURITY-754 LdapExtLoginModule fails with follow referral
- Resolved
-
WFLY-808 LdapExtLoginModule fails with follow referral
- Closed