java - Set Glassfish to not use any Digest Algorithm -



java - Set Glassfish to not use any Digest Algorithm -

i want jdbcrealm not utilize digest algorithm in glassfish. want jdbcrealm compare against database without converting password algorithm.

my password in database md5 , convert user's password md5 in java code , utilize code:

facescontext context = facescontext.getcurrentinstance (); httpservletrequest request = (httpservletrequest) context.getexternalcontext (). getrequest (); request.login (username, md5password);

so can remove digest algorithm jdbcrealm compare plain text without algorithm?

i know can send user's password in plain text , jdbcrealm job me, want seek this

yes, yo can

set digest algorithm none

java glassfish digest jdbcrealm

Comments