users@glassfish.java.net

Re: how to make programmatic login behave like form-login in SSO

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Mon, 10 May 2010 12:56:35 -0400

>
> "The programmatic login state does not necessarily persist in sessions
> or participate in single sign-on."

Because of the issue below, the login wasn't stored in the session
until a recent fix:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=11340

Could that be causing your problem? (If so, I think you'd also see
that users aren't logged in after the initial request.)

Cheers,
Bobby