Just for informationand little question at this end.
I'am testing TOMCAT with java API for IPV6 at the moment and my only problem with your product is about
traitment of number port in request Header which raise an NumberFormatException exception ...
Function parseHeaders() in class
Yes I understand what you said about CLIENT-CERT and I add a new entry in my tomcat-usr.xml file :
tomcat-users
user name=tomcat password=tomcat roles=tomcat /
user name=role1 password=tomcat roles=role1 /
user name=both password=tomcat roles=tomcat,role1 /
user
Hello,
I try to use the auth-method of web.xml to CLIENT-CERT value like it's precise on web.dtd
So the fragment of web.xml file :
!-- Default login configuration uses form-based authentication --
login-config
auth-methodCLIENT-CERT/auth-method
realm-nameExample Form-Based
Excuse for my determination but my problem was not solve...
After change my serveur.xml to clientAuth=true like Craig R. McClanahan said,
I fall again on my first exception when I try to extract the certificate request because
object associate with ùrequest attributes nameés
Why the attribute 'javax.servlet.request.X509Certificate' return an array of X509Certificate.
I don't understand how it's possible because when my client choose an certificate, he chooses only one...
For my test array contain always one element... so is it an specification to anticipate the
Hi Stefan
I try to extract certicate to my request like you say in your mail but I have
an exception because object return by request.getAttribute( javax.servlet.request.X509Certificate )
method wasn't type of java.security.cert.X509Certificate but [Ljava.security.cert.X509Certificate;
log