On 22/04/2016 23:35, Fabio Ricci wrote:
> Dear tomcat Community
> 
> I am using cross context (which seems to be easy to configure but in in
> tomcat 8 hard to run) … so today I downloaded tomcat 9 and I migrated my
> apps to it.
> In tomcat 9 cross context is running smoothly (thank you!)
> 
> To authenticate my config is using JDBCRealm with a mysql database. The
> config below ran very well with tomcat 8 but on tomcat 9 accepted only
> the password digests (which are stored in the table tomcat_users)
> directly instead of the usual passwords. It seems that the digest
> algorithm MD5 be here not executed.

Given that the digest attribute doesn't exist on the Realm in 9.0.x,
that behaviour is as expected.

You should read the migration guide:

http://tomcat.apache.org/migration-9.html#Migrating_from_8.0.x_to_9.0.x/Internal_APIs

If you had read the 8.0.x docs, you wouldn't have been using a
deprecated configuration option...

http://tomcat.apache.org/tomcat-8.0-doc/config/realm.html#Common_Attributes

... you would have been using the replacement configuration option.

http://tomcat.apache.org/tomcat-8.0-doc/config/credentialhandler.html


Mark

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

Reply via email to