On Sun, Oct 16, 2011 at 5:16 PM, Chema <demablo...@gmail.com> wrote: > > 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 >
As you said that can work using Filters, But the requirement is that it needs Tomcat level authentication. or else i dont know whether i completely misunderstood the concept of realms.