Re: JDBCRealm CLIENT-CERT Authentication

2003-03-17 Thread Patrick Flohr
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: CLIENT-CERT Whe

Re: JDBCRealm CLIENT-CERT Authentication

2003-03-17 Thread jazorin
Hi. You need to add to the web.xml file the following lines: CLIENT-CERT 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 JDB

Re: JDBCRealm CLIENT-CERT Authentication

2003-03-14 Thread Patrick Flohr
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 full DN to the web.xml + insert into table users ('DN','DN') + insert into table user_roles ('DN','DN')

Re: JDBCRealm CLIENT-CERT Authentication

2003-03-13 Thread jazorin
Hi. You can to implement a JDBCRealm with client certificates modifying the org.apache.catalina.realm.JDBCRealm class. You need add the public Principal authenticate(X509Certificate[] cert) method. Inside, you have to include the following lines: import java.security.cert.X509Certifica

JDBCRealm CLIENT-CERT Authentication

2003-03-13 Thread Patrick Flohr
Hello, is it correct that only Memory- and JNDIRealm can perform the mapping between the DN included in a certificate and a users role? Because of the lack of dynamic changes in MemoryRealm, i want to replace it with a JDBCRealm. Is there any information available how to implement a JDBCRealm th