Sent: Wednesday, 20 June 2012 7:58 PM
To: Tomcat Users List
Subject: Re: Apache tomcat (7.0.27) is not loading the user and role class
for JAASRealm
This logout function was added in Servlet Spec 2.4
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200208.mbox/%3C102903496
4.4749.7
This logout function was added in Servlet Spec 2.4
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200208.mbox/%3c1029034964.4749.754.ca...@hue.jadn.com%3E
But even after pointing to Dynamic web module 2.4, and Tomcat 7.0, I am not
able to access that API.
Regards,
Javed
On Wed, Jun 20, 2012
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 another servlet th
2012/6/20 javed Ansari :
> It seems I am invalidating another servlet than the one which authenticated
> the webapp. This confusion is because I am using Google Web Toolkit
> application template which not just a plain servlet application.
> I am now trying to invalidate all the sessions by calling
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
>> *Cc:
; *Cc:* Tomcat Users List
> *Subject:* Re: Apache tomcat (7.0.27) is not loading the user and role
> class for JAASRealm
>
> 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 r
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
Javed
I don't know why you are invalidating the session when you log *in.* I said
to invalidate it to log *out*.
EJP
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomc
Hmmm,
By Session I assume you mean HttpSession. I have below code in the doPost
of the Login click.
HttpSession session = req.getSession();
session.invalidate();
And then I am redirecting to Login page.
Next when I try to login in the same browser session, it shows an error
(error code 408) pa
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 Authentication.
Read what EJP said again. When you call Session.inva
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
Javed
Just call Session.invalidate() or HttpServletRequest.logout(). The JAASRealm
will do the rest, and call logout() on your LoginModule. Note that you can't
assume it is the same instance of your login module, that's what all the
shared state is for.
EJP
> To: Tomcat Users List
> Cc:
> Sent: Wednesday, June 13, 2012 6:25 AM
> Subject: Re: Apache tomcat (7.0.27) is not loading the user and role
class for JAASRealm
>
> - Original Message -
>> I am creating a website and implement security. For this I am using
>>
>
> From: javed ansari
>To: users@tomcat.apache.org
>Sent: Thursday, June 14, 2012 12:06 AM
>Subject: Re: Apache tomcat (7.0.27) is not loading the user and role class for
>JAASRealm
>
>
>Hi,
>
>Those two classes are
javed ansari wrote:
Hi,
Those two classes are created by myself. They implement
"java.security.Principal" interface in order to hookup JAASRealm in tomcat.
I have attached the classes. Please rename the smarts_zip to smarts.zip
after downloading.
This list strips most attachments. Yours appear
Hi,
Those two classes are created by myself. They implement
"java.security.Principal" interface in order to hookup JAASRealm in tomcat.
I have attached the classes. Please rename the smarts_zip to smarts.zip
after downloading.
Following are the entries in red color for this in the server.xml file
- Original Message -
> From: Daniel Mikusa
> To: Tomcat Users List
> Cc:
> Sent: Wednesday, June 13, 2012 6:25 AM
> Subject: Re: Apache tomcat (7.0.27) is not loading the user and role class
> for JAASRealm
>
> - Original Message -
>> I am cr
- Original Message -
> 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 star
18 matches
Mail list logo