A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Where/how to remember the user is authenticated already in J2ee programmatic security
Joined: Sep 09, 2004
Jun 29, 2006 14:13:00
I am doing a programmatic security in
siteA tries to access my siteB(J2ee) with a token appended in the URL.
In siteB, I verify the token. If it is good, I let him to access the requested page.
My question, where and how do I store the info that he was "authenticated" already? Then, if he accesses another page on siteB, I do not need verify the token anymore.
Joined: Mar 22, 2005
Jun 29, 2006 15:42:00
That implies a stateful HTTP connection, i.e. a session in which you can store that information. Barring further information, I'd say you need to set a cookie.
I agree. Here's the link:
subject: Where/how to remember the user is authenticated already in J2ee programmatic security
Container based authentication
j_security_check 'next' page?
Finding Whether a user is logged in or no
WS Security questions
Authentication using Sun Access Manager 7 and webmethods portal
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015