Hello

Tomcat 8.0.33
java 8
debian

i need some help with credentialhandler in datasourceRealm.

I wan t to achieve a encrypted password, if possible with salt.

Encryption SHA-512 or similar.


is there a example somewhere how to modify the realm, i couldnt find
anything in the docs.

Realm looks like this atm. Its working, but passwords are stored in plain text.

<Realm className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="jdbc/sandbox" localDataSource="true"
roleNameCol="rolename" userCredCol="password" userNameCol="username"
userRoleTable="roles" userTable="users">

Regards

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to