• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error: The matching wildcard is strict, but no declaration can be found for element 'remember-me'

 
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 191
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 191
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic