tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema <demablo...@gmail.com>
Subject Re: Session across Realm and Servlet
Date Sun, 16 Oct 2011 11:46:24 GMT
>   In my Custom Realm Implementation iam autheticating some user and
> allowing
> him to access my webapps(servlets or filters) (my application)
>  This authentication session i need it to be reused in my webapp(to avoid
> another authentication)  if it is an authorized session.
>  So for this purpose i want to set an object in the session and reuse that
> object(connection Object) at my servlets level.
>
> How can i over come this
>


You can use a Filter and check if remote user is setted.
I do it this way to load user info into user http session

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message