You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Winter, G (Graeme)" <G....@dl.ac.uk> on 2004/04/07 15:46:04 UTC

request.getUserPrincipal();

Hi All,

I am trying to perform client authentication using certificates, and I have
made some progress - the certificates are now accepted as OK, which is nice.
Obviously I am using https too...

However, the sting is that the methods

request.getAuthType();
request.getRemoteUser();
request.getUserPrincipal();

All return NULL, which is contrary to the documentation, since I know the
user (i.e. me) has authenticated. clientAuth="true" in server.xml.

Anyone else out there had this problem, and more to the point found a
solution?

Cheers,

Graeme

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org