Hi,

i use already the client-cert method and a suitable security-role.
May i made a mistake during build?
How can be ensured that tomcat make use of the new authenticate method?

thanks

Patrick

jazorin wrote:
Hi.

You need to add to the web.xml file the following lines:

  <login-config>
    <auth-method>CLIENT-CERT</auth-method>
  </login-config>

When you try to connect to the protected resource, the navigator will request a client certificate.

Regards.

----------------------
Hi,

i tried the following:
+ Add the mehtod authenticate(...) to the File JDBCRealm.java
+ build a Tomcat distribution
+ replace the catalina.jar with the new version (on an other machine)
+ add <role-name>full DN</role-name> to the web.xml
+ insert into table users ('DN','DN')
+ insert into table user_roles ('DN','DN')

Then i try to connect with a browser to the protected ressource and the browser requests login and password.

Any suggestions?

thanks

Patrick



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to