aspose file tools*
The moose likes Spring and the fly likes Spring MVC - Session Management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC - Session Management" Watch "Spring MVC - Session Management" New topic
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: 29255
    
140

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: 29255
    
140

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC - Session Management
 
Similar Threads
Session management
Session Management in Spring
JSP
Why to use external session management techniques when session object in JSP is implicit?
hibernate in Spring framework