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 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

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 karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com 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

Re: Session across Realm and Servlet

2011-10-16 Thread sailendra karthik
On Sun, Oct 16, 2011 at 2:25 PM, Pid p...@pidster.com wrote: On 16/10/2011 05:57, sailendra karthik wrote: On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra karthik wrote: I need to maintain a session

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 p...@pidster.com wrote: On 16/10/2011 05:57, sailendra karthik wrote: On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com wrote: On 14/10/2011 22:36, sailendra

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 purpose

Re: Session across Realm and Servlet

2011-10-16 Thread sailendra karthik
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

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 yet

Re: Session across Realm and Servlet

2011-10-15 Thread sailendra karthik
On 10/15/11, Pid p...@pidster.com 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

Re: Session across Realm and Servlet

2011-10-15 Thread sailendra karthik
On 10/16/11, sailendra karthik karthiksailen...@gmail.com wrote: On 10/15/11, Pid p...@pidster.com 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

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

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.

Re: Session across Realm and Servlet

2011-10-14 Thread sailendra karthik
On 10/15/11, Chema demablo...@gmail.com 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