java - CredentialHandler encoding in base64 with Tomcat 8 -


i'm trying configure credentialhandler in tomcat 8 (8.0.36). password in db hashed md5 , encode in base64

i'm trying following configuration in context.xml

<realm> <credentialhandler classname="org.apache.catalina.realm.messagedigestcredentialhandler" algorithm="md5" encoding="base64"/> </realm> 

when present, encoding attributes ignored. , credentialhandler work when password hashed without encoding afterward.

did missuse encoding attribute ?

thanks, arthur


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -