| Author |
Error: The matching wildcard is strict, but no declaration can be found for element 'remember-me'
|
vikas sharmaa
Ranch Hand
Joined: Jun 28, 2007
Posts: 191
|
|
I am trying to implement Spring Security 3.0 with remember-me feature.
But i am getting the below exception on starting the tomcat server:
The matching wildcard is strict, but no declaration can be found for element 'remember-me'.
please find below my security config file:
following jars are included in the lib directory:
please tell me, where i am going wrong.
|
 |
vikas sharmaa
Ranch Hand
Joined: Jun 28, 2007
Posts: 191
|
|
i moved <remember-me> tag inside <http use-expressions="true"> and the above error disappers as follows:
but, now i am getting a new error:
I am following this site http://www.jeviathon.com/2009/09/spring-security-30-with-active.html to implement remember-me feature in Spring Securtiy. But they have not given any implementation of 'inMemDataSource' bean.
please help me in resolving the error.
|
 |
vikas sharmaa
Ranch Hand
Joined: Jun 28, 2007
Posts: 191
|
|
|
After going through http://static.springsource.org/spring-security/site/docs/3.0.x/reference/remember-me.html site. i understand that there are 2 implementations available for enabling remember-me feature. they are TokenBasedRememberMeServices and PersistentTokenBasedRememberMeServices respectively. can anybody please provide me a link or an example of these implementations.
|
 |
 |
|
|
subject: Error: The matching wildcard is strict, but no declaration can be found for element 'remember-me'
|
|
|