Chris,

On 16.11.2015 23:06, Christopher Schultz wrote:
What is your TLS configuration?

Please look at my previous reply on this thread.


   * It seems that it is not possible anymore to use attribute "digest"
in realms. It would be nice if that is mentioned in release
announcement. I guess quite a number of people uses Realms with digest,
and they will need to adjust the config before switching to 9.0.0.

"digest" should still work

For me, it doesn't work [1]. It yields:

org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Context/Realm/Realm} Setting property 'digest' to 'SHA-512' did not find a matching property.

The webapp is started, but I cannot log in. It works fine, however, with nested CredentialHandler [2].

-Ognjen


[1]
  <Resource name="jdbc/dbserver" (snip) />
  <Realm className="org.apache.catalina.realm.LockOutRealm" (snip)
    <Realm className="org.apache.catalina.realm.DataSourceRealm"
           dataSourceName="jdbc/dbserver"
           localDataSource="true"
           digest="SHA-512"
           (snip) />
  </Realm>

[2]
  <Resource name="jdbc/dbserver" (snip) />
  <Realm className="org.apache.catalina.realm.LockOutRealm" (snip)
    <Realm className="org.apache.catalina.realm.DataSourceRealm"
           dataSourceName="jdbc/dbserver"
           localDataSource="true"
           (snip)>
<CredentialHandler className="org.apache.catalina.realm.MessageDigestCredentialHandler" algorithm="SHA-512" />
    </Realm>
  </Realm>


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

Reply via email to