I am storing one-way hash (SSHA) of my password in a custom attribute in TDS (Tivoli Directory Server) using JNDI. The hashing is done at the server end.
Is there any way to compare the password at the server end using JNDI ?
I am able to compare the password using "ldapcompare" utility that comes along with TDS. But I couldn't do it using JNDI.
I am getting below error message when I try to compare using " DirContext.search() " method.
" GLPSRV158I 1-way encrypted attribute 'attribute name' is only allowed in 'present' filters."
I don't want to generate the hash programmatically & compare locally, Instead I prefer to do it at the server (TDS) end.
Is there any work around?