Millennium Research Informatics
-Original Message-
From: Robert Hall [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 8:52 PM
To: Tomcat Users List
Subject: Re: where is setUserPrincipal() ?
In case you haven't already gotten to the bottom of this, here's a
perspective;
afaik
I've been looking at the various methods of doing access control, and
many of the messages I've seen (on this list and elsewhere) mention
doing something like:
hrequest.setUserPrincipal( new MyPrincipal(username) );
so that other code can call getUserPrincipal(), etc.
But there is no
In case you haven't already gotten to the bottom of this, here's a
perspective;
afaik, HttpRequest.setUserPrincipal() is implemented by the container
(ie - Tomcat).
From the docs:
public void *setUserPrincipal*(java.security.Principal principal)
Set the Principal who has been