On 20/02/2013 12:01, maximilian-schm...@telekom.de wrote:
And this is my tomcat-users.xml ("Maximilian Schmidt" is the CN of my
client-certificate):
<role rolename="admin" />
<role rolename="secureconn"/>
<user username="Maximilian Schmidt" password="123456789" roles="secureconn,
admin"/>
By default, you have to use the DN not the CN.
See X509UsernameRetrieverClassName
in
http://tomcat.apache.org/tomcat-7.0-doc/config/realm.html#Common_Attributes
You can provide a custom implementation to change how the user name is
derived from the cert.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org