But how can we get the all user info from principal
like user fullname?
-Fang
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 8:24 PM
To: Tomcat Users List
Subject: Re: get User object from tomcat
Humm...not clear. I guess you
: get User object from tomcat
But how can we get the all user info from principal
like user fullname?
-Fang
-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 8:24 PM
To: Tomcat Users List
Subject: Re: get User object from
plements it's own custom
Principal that you can cast to to get the additional info you need.
-Original Message-
From: fangfang cai [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 6:01 PM
To: Tomcat Users List
Subject: RE: get User object from tomcat
But how ca
Humm...not clear. I guess you mean the principal. Looks at:
HttpServletRequest.getUserPrincipal() that returns the current
authenticated user
HttpServletRequest.isUserInRole(String role) to see if the current
authenticated user is included in the specified logical role.
-- Jeanfrancois