Cannot write login token error after installing 5.6.1 SP 2
Hi Everyone.
I've installed 5.6.1 SP 2 on a couple of test publish nodes and I get the following error when I try to authenticate via LDAP:
24.08.2015 16:51:57.705 *ERROR* [0:0:0:0:0:0:0:1 [1440449516586] POST /etc/login.html/j_security_check HTTP/1.1] [<our custom LDAP login module class name>] commit: could not commit: javax.jcr.RepositoryException: Cannot create login token.
The exception originates in org.apache.jackrabbit.core.security.authentication.tokenTokenBasedAuthentication.createToken. I set the logging level to TRACE to see if I could get more info, but nothing useful stood out.
It looks like the LDAP authentication part is successful. I can see that the user node gets created under /home/users/<path to user node> along with some custom properties we write. The .tokens node, however, does not get created. This is consistent with the message in the RepositoryException.
Our LDAP module has been working for a long time. This error only occurs after I install SP 2. I've confirmed this on multiple publish nodes. If I revert to the backup prior to SP 2, I can login just fine.
I can see com.day.crx.sling.server is running at 2.4.76 and all bundles are active. Our custom LDAP login module bundle is Fragment. So it seems SP 2 has installed. I can login to the web console, crx explorer / de, etc. So the system seems to be functioning for the most part.
Any ideas on what might be causing my login token problem? Has anyone else had a similar problem? Thanks.