You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ps...@nykredit.dk on 2003/08/26 13:16:02 UTC

Re.: request.getRemoteUser() only non-null on protected pages

I cannot be the only one ever expirienced this problem.

Any comments, PLEASE...

- Per Steffensen



Re: request.getRemoteUser() only non-null on protected pages

Posted by Christopher Williams <cc...@ntlworld.com>.
Which type of authentication are you using.  I find that SSL-Slient
authentication causes getUserPrincipal() (or getRemoteUser()) to return
null.  I don't know why this is.  BASIC or DIGEST authentication should work
OK, though.

If you describe your problem to me again, I may have some insights as I am
currently working on something similar.

Kind regards,

Chris Williams.