Hi.
I'm trying to use digest authentication with JDBCRealm and SHA
algorithm, but it doesn't seems to work.
Here is my context:
<Context docBase="permission" path="/permission" reloadable="true"
privileged="true">
<ResourceLink name="jdbc/global" global="jdbc/global"
type="javax.sql.DataSource"/>
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="org.postgresql.Driver" digest="SHA"
connectionURL="jdbc:postgresql://testhost/global"
connectionName="global" connectionPassword="password"
userTable="users" userRoleTable="user_role"
userNameCol="username" userCredCol="password"
roleNameCol="rolename"/>
</Context>
And here is my relevant lines in web.xml:
<login-config>
<auth-method>DIGEST</auth-method>
</login-config>
When I use BASIC method, as a lot of people wrote before, everything
works fine, but with DIGEST method I can't authenticate.
I tried to turn off "digest" parameter in server.xml, but didn't work. I
tried so set a plain password in my user table. Didn't work too. So,
I've tried a lot of combinations without success.
Is there someone who did it before?
iran
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>