| Author |
Spring MVC - Session Management
|
Shiaber Shaam
Ranch Hand
Joined: Jun 16, 2006
Posts: 252
|
|
|
Is there anyway session management can be done without using Spring Security? Could you please suggest a tutorial?
|
$Hi/\bEr
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26144
|
|
|
Session management has nothing to do with security. Is your question how to handle login/permissions without Spring Security?
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Shiaber Shaam
Ranch Hand
Joined: Jun 16, 2006
Posts: 252
|
|
I have a login page. I need to get the username/password, validate it. Once validation is done, need to redirect to the home page. Also, after 30 min, i need to invalidate the session and if any of the url is accessed directly, need to check if there is a session active.
Please advise. Appreciate it.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26144
|
|
Why do you want to write login logic? This is already done and you can hook into it.
For the 30 minutes timeout, you specify a timeout in the web.xml.
|
 |
Shiaber Shaam
Ranch Hand
Joined: Jun 16, 2006
Posts: 252
|
|
|
Can you please elaborate on it?
|
 |
 |
|
|
subject: Spring MVC - Session Management
|
|
|