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

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

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

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: Configuration for both protected and public URLs in a web application

2011-10-14 Thread sailendra karthik
On 10/15/11, Yogesh Shankarappa wrote: > Hello All, > > >I am trying to configure web.xml to have both protected and > public URLs but still the app > authenticates the public URLs. Protected URLs works fine. I would greatly > appreciate if you can > help to configure the whole applica

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

Tomcat 6.0 Custom Realm with Digest Authentication

2011-10-02 Thread sailendra karthik
Hi, Iam able to develop a custom realm with basic type But when i change this to DIGEST it is not digesting the password. Please provide Any example or some detailed steps.