Yes in the latest Spring version, you don't have to define all those Filters. You just use auto-config="true"
So you will just need to define a login-page in your config file.
Here is an example
notice the <form-login> tag to define the login page. The <intercept-url> tags are to set patterns to secure. So in the first line, it really is just saying don't add the filters to the login page, as we don't want that secured. the second line says, only ROLE_USER members will see all the other pages of the web app.
But after the session expires and I click on any link within the application, the same page gets displayed. What could be the reason, am I missing something very silly?
Regards, Joshua
Joshua Antony
Ranch Hand
Joined: Jun 05, 2006
Posts: 254
posted
0
I found out the issue, actually I was using old acegi jar.