Hi!Simply invalidating your HttpSession
I have searched the net, but could find no information, so I post my question here.
How do I do a logout from a Struts Action? I am using JaasSecurityManager of JBoss, with BASIC authentication for the war, running in TomCat (btw.: digest auth seems to be broken). Login works fine, however, I am not getting a Principal from request.getUserPrincipal(), and the request.isUserInRole() returns also false for the role specified int the roles.properties file (although I can see the protected parts of the web-application).
I am doing something wrong? (I am using the org.jboss.security.auth.spi.UsersRolesLoginModule, JBoss 3.0.6/TomCat4.1.18, JDK 1.4.1 on Windows)
Cheers and thanks Tibor
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
.
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
