aspose file tools
The moose likes Other Java Products and Servers and the fly likes GlassFish SSO, logout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply Bookmark "GlassFish SSO, logout problem" Watch "GlassFish SSO, logout problem" New topic
Author

GlassFish SSO, logout problem

Ilya Cyclone
Greenhorn

Joined: Feb 28, 2010
Posts: 4
Hi Coderanch,

I'm developing some J2EE applications that should have common login point. My apps are hosted on GlassFish v3 application server.

There is web.xml based security with FORM method (a HTML form with "j_security_check" action) and JDBC Realm on PostgreSQL 8.4 datasource. It worked absolutely fine while GlassFish SSO was disabled.

Now SSO is enabled on GF's HTTP Service page and it really works fine when I need to log in. Each my application lets a logged user in. But here is another problem.

My logout servlet not always works at first time. It happens quite often (but not each time) that I stay logged in after my logout servlet has done processed the request with no exceptions.
It never happened until SSO was enabled.
Servlet code is below.



I would be pleased for some useful hints.

Thanks.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: GlassFish SSO, logout problem
 
Similar Threads
Using timers with phase listeners
Implement logoff from Single Sign-On (SSO)
problem with request forward
Redirect problem on Websphere
login and status error 400