Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 476065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:27:06+00:00 2026-05-13T00:27:06+00:00

I have implemented spring security’s remember me feature in our app, the way i

  • 0

I have implemented spring security’s remember me feature in our app, the way i understand it, If user opens main page directly and he is not authenticated by spring, he is taken to the login page. if he is authenticated, he stays on the main page.

However in our application, the user is likely to start the login page first (and is likely to have bookmarked our login page)

Is there any way by which the login page is smart enough to understand that the user is authenticated and redirect itself to the main page ?

I thought this approach:

Login page looks for spring’s cookie, finds it, assumes user is authenticated, redirects to main page.

Problem with this approach:
Suppose user is no longer valid, Login finds the cookie, redirects to main, Main does not find user to be valid, returns to login, login finds cookie, redirects to main ….and so on

Is there any other way for the remember me to be implemented ?

Or is there any way for login to (make an ajax call) and authenticate the user using that cookie ?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T00:27:06+00:00Added an answer on May 13, 2026 at 12:27 am

    Solution resolved by the answer given by matt raible in

    matt raible’s reply

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're developing an app (using Grails Spring Security (formerly Acegi)) in which we'll have
I have a grails app configured with spring-security-core and I need to allow Facebook
I have the following situation: my application's authorization mechanism is implemented using Spring security.
I have implemented Spring Security in my application. I have used default implementation, i.e.,
I have implemented a simple file upload-download mechanism. When a user clicks a file
I have a service class implemented in Java 6 / Spring 3 that needs
I have strange issue with logging in and out. I've implemented container-based security. I
I have a custom-authentication-provider defined in my Spring Security configuration. This class implements AuthenticationProvider,
I need to use the Spring Security User, Role/Authority and the UserRole-join classes both
I'm using S#arp Architecture 1.6 and have implemented the Rhino Security integration as per

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.