I'm using spring security including remember-me feature:
<security:remember-me key="myKey" token-validity-seconds="2419200" user-service-ref="userDetailsService"/>
Now when i check remember-me checkbox, i can close browser and go to some app pages skipping the login page.
But i still can type myApp/login.jsp and go to the login page.
Is there any ways to avoid it? - I want to avoid any direct links to login page. User should be able to see login screen only if he hasn't logged in still, hasn't pressed "remember-me" button (and closed browser) or pressed logout button of my app.