• Post Reply Bookmark Topic Watch Topic
  • New Topic

Enabling CSRF protection in JSF 2.2 app causes error

 
Dmitry Perv
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I enable csrf protection in faces-config as follows:

When I try to open the page in browser I get following error:
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My suspicion is that since the tag you're using has a url-pattern, but you've declared it using what looks like a resource path, that the pattern doesn't resolve properly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!