Re: Session across Realm and Servlet

2011-10-17 Thread Tim Watts
On Mon, 2011-10-17 at 01:10 +0530, sailendra karthik wrote: > On Sun, Oct 16, 2011 at 5:16 PM, Chema wrote: > > > > In my Custom Realm Implementation iam autheticating some user and > > > allowing > > > him to access my webapps(servlets or filters) (my application) > > > This authentication se

Re: Session across Realm and Servlet

2011-10-16 Thread sailendra karthik
On Sun, Oct 16, 2011 at 5:16 PM, Chema 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 authentic

Re: Session across Realm and Servlet

2011-10-16 Thread Chema
> 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 pur

Re: Session across Realm and Servlet

2011-10-16 Thread Pid
On 16/10/2011 12:01, sailendra karthik wrote: > On Sun, Oct 16, 2011 at 2:25 PM, Pid wrote: > >> On 16/10/2011 05:57, sailendra karthik wrote: >>> On 10/16/11, sailendra karthik wrote: On 10/15/11, Pid wrote: > On 14/10/2011 22:36, sailendra karthik wrote: >> I need to maintain a s

Re: Session across Realm and Servlet

2011-10-16 Thread sailendra karthik
On Sun, Oct 16, 2011 at 2:25 PM, Pid wrote: > On 16/10/2011 05:57, sailendra karthik wrote: > > On 10/16/11, sailendra karthik wrote: > >> On 10/15/11, Pid wrote: > >>> On 14/10/2011 22:36, sailendra karthik wrote: > I need to maintain a session object between Realm and Servlet. > > >

Re: Session across Realm and Servlet

2011-10-16 Thread Pid
On 16/10/2011 05:57, sailendra karthik wrote: > On 10/16/11, sailendra karthik wrote: >> On 10/15/11, Pid wrote: >>> On 14/10/2011 22:36, sailendra karthik wrote: I need to maintain a session object between Realm and Servlet. I have written a CustomRealm and every thing working fin

Re: Session across Realm and Servlet

2011-10-15 Thread sailendra karthik
On 10/16/11, sailendra karthik wrote: > On 10/15/11, Pid wrote: >> On 14/10/2011 22:36, sailendra karthik wrote: >>> I need to maintain a session object between Realm and Servlet. >>> >>> I have written a CustomRealm and every thing working fine and now it >>> is required to send an object to ser

Re: Session across Realm and Servlet

2011-10-15 Thread sailendra karthik
On 10/15/11, Pid wrote: > On 14/10/2011 22:36, sailendra karthik wrote: >> I need to maintain a session object between Realm and Servlet. >> >> I have written a CustomRealm and every thing working fine and now it >> is required to send an object to servlets (possibly by >> HttpRequestServlet ) But

Re: Session across Realm and Servlet

2011-10-15 Thread Pid
On 14/10/2011 22:36, sailendra karthik wrote: > I need to maintain a session object between Realm and Servlet. > > I have written a CustomRealm and every thing working fine and now it > is required to send an object to servlets (possibly by > HttpRequestServlet ) But i know/think Servlet is not ye

Re: Session across Realm and Servlet

2011-10-14 Thread sailendra karthik
On 10/15/11, Chema wrote: >> >> So how it is possible to access HttpRequestServlet and set some >> session attribute in my Custom Realm which extends RealmBase. >> > > > I guess you can't do it that > > >> >> Or else it should be a different Procedure. >> > > > You can try by using filters or try

Re: Session across Realm and Servlet

2011-10-14 Thread Chema
> > So how it is possible to access HttpRequestServlet and set some > session attribute in my Custom Realm which extends RealmBase. > I guess you can't do it that > > Or else it should be a different Procedure. > You can try by using filters or try Spring Security > > Waiting for some clue

Session across Realm and Servlet

2011-10-14 Thread sailendra karthik
I need to maintain a session object between Realm and Servlet. I have written a CustomRealm and every thing working fine and now it is required to send an object to servlets (possibly by HttpRequestServlet ) But i know/think Servlet is not yet Initiated. So how it is possible to access HttpReques