For the sign-in button in the header when the user is on the logout
page, the following works:
<% if (
request.getAttribute("javax.servlet.forward.request_uri").equals("/cas/logout"))
{ %>
<% } %>
But this looks a bit quirky, I think a better approach would be to
follow the spring webflow, right?
Regards,
Stephan
On 09/05/14 15:14, Stephan Arts wrote:
Hi,
I wanted to show a link to /cas/logout on the login page when a user
is authenticated.
I've spent a while searching through spring and cas documentation to
figure out how I can make that distinction, but so far all my attempts
have failed.
Could you give me a hint on what spring entity I should use to
establish if a user is on the login page, and is authenticated. Or if
he is stranded on the logout page? (to show him a link to the login page)
Kind regards,
Stephan
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user