Getting the following error when using AEM 6.1. with LDAP
- Authentication is happening against LDAP
- user in LDAP created in AEM and able to see log as ExternalLoginModule IDP ldap returned valid user LdapIdentity
- when user is redirected to success page get the following java.lang.IllegalArgumentException: Invalid token ''at org.apache.jackrabbit.api.security.authentication.token.TokenCredentials.<init>(TokenCredentials.java:42)
at com.day.crx.security.token.impl.TokenAuthenticationHandler.createCredentials(TokenAuthenticationHandler.java:676)
at com.day.crx.security.token.impl.TokenAuthenticationHandler.extractCredentials(TokenAuthenticationHandler.java:443)
at org.apache.sling.auth.core.impl.AuthenticationHandlerHolder.doExtractCredentials(AuthenticationHandlerHolder.java:75)
at org.apache.sling.auth.core.impl.AbstractAuthenticationHandlerHolder.extractCredentials(AbstractAuthenticationHandlerHolder.java:60)
at org.apache.sling.auth.core.impl.SlingAuthenticator.getAuthenticationInfo(SlingAuthenticator.java:709)
at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:461)
at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:446)
looks similar to this issue
any updates please share
Solved! Go to Solution.
Views
Replies
Total Likes
Keeping the default ExternalLoginModuleFactory JAAS ranking fixes this issue :-)
Views
Replies
Total Likes
Are you using the OOB ExternalLoginModule or anything customized ?
Views
Replies
Total Likes
It is only OOTB login module with ldap and sync handler enabled
Views
Replies
Total Likes
Keeping the default ExternalLoginModuleFactory JAAS ranking fixes this issue :-)
Views
Replies
Total Likes