Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread javed Ansari
at 1:00 PM, javed Ansari wrote: > These settings I already have. > Does that mean logout has been removed from the Servlet 3.0. > The book I am referring uses servlet 2.0. Can anybody confirm this? > > On Wed, Jun 20, 2012 at 12:44 PM, Konstantin Kolinko < > knst.kol

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-20 Thread javed Ansari
These settings I already have. Does that mean logout has been removed from the Servlet 3.0. The book I am referring uses servlet 2.0. Can anybody confirm this? On Wed, Jun 20, 2012 at 12:44 PM, Konstantin Kolinko wrote: > 2012/6/20 javed Ansari : > > It seems I am invalidating anothe

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-19 Thread javed Ansari
this API in a servlet book but in Eclipse it is not able to find out even with the latest JDK 1.7. May be I need to post this onto some Java forum... On Wed, Jun 20, 2012 at 10:41 AM, javed Ansari wrote: > Ok let me try this. But in any case once I call invalidate the JAASRealm >

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-19 Thread javed Ansari
t Spec. You > should redirect to a page that *requires* a login, i.e. a role, e.g. in my > system it is /mypage > > EJP > > ------ > *From:* javed Ansari [mailto:javid@gmail.com] > *Sent:* Wednesday, 20 June 2012 2:30 PM > *To:* Esmond Pitt >

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-19 Thread javed Ansari
Ooops, I could not explain. Sorry for mess... I am invalidating in logout only **not** in login. Once I click on logout, I invalidate. Then I redirect to login page. Then if I try to login again the foresaid error comes (error code 408). On Wed, Jun 20, 2012 at 5:22 AM, Esmond Pitt wrote: > Jave

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-19 Thread javed Ansari
t; Den 19-06-2012 08:41, javed Ansari skrev: > > Hi, >> >> But how to call the logout on my LoginModule? That is my actual question. >> I >> do not have a LoginModule object with me. LoginModule is called by tomcat >> himself when we use Form Based Authenticati

RE: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-18 Thread javed Ansari
Hi, But how to call the logout on my LoginModule? That is my actual question. I do not have a LoginModule object with me. LoginModule is called by tomcat himself when we use Form Based Authentication. = Javed Just call Session.invalidat

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-18 Thread javed ansari
; http://blog.frankel.ch/custom-loginmodule-in-tomcat > > I tried even the sample one on the above website but gives the same > error. > Please let me know what am I missing. > -- > Regards, > Javed > > Even a big pot full of water will be emptied

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-14 Thread javed ansari
od > heart. > > On Wed, Jun 13, 2012 at 5:10 PM, javed ansari wrote: > I am creating a website and implement security. For this I am using Form > based authentication and JAASRealm. I have implemented the login

Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-13 Thread javed ansari
I am creating a website and implement security. For this I am using Form based authentication and JAASRealm. I have implemented the login module and able to authenticate but while authorizing tomcat is not able to load the user and role classes once I start the tomcat server. It gives the followin