Hi, 
One minor flaw in your idea, it's not possible to retrive the user from the session, 
unless you put it there when the user is authenticated.
Meaning, the request.getRemoteUser() will only return you a username (login) in the 
actual request the authentication is made, still, depending on the browser / HTTP 
server configuration you are using it may happen more often, some configurations may 
even return value for every request. 

In short,  if you want to have access to the login of the user browsing your website 
in the session you have to put it there, in the first authenticated request. 

Hope it helps
-reynir


 
> [EMAIL PROTECTED] wrote:
> 
> >Hello,
> >
> >I searched many places and read many things, but I didn't
> > find any example that retrieve the user from the session  
> after it is 
> >authenticated with realm.
> >
> >Can someone help me?
> >

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to