title: Is there a Spring Security 4.x taglib for Facelets
body: <p>I'm involved working in a project using Spring Security 4.x and JSF 2.2 with Facelets. I just noticed that spring security in this version have enabled by default the protection against Cross Site Request Forgery using request tokens, the case is that you have to put the tag <code>&lt;sec:csrfMetaTags&gt;</code> in many pages (if not, spring deny the request), the lib <code>spring-faces</code> is in 2.4.1 which hasn't these tags for Facelets (XHTML).</p>
  
  <p>I tried to find an implementation in order to get working my project using these frameworks but I couldn't find any, do you know any adaptation?</p>
  
  <p>In my case, I adapted just the part I needed (at this point), if there are no public adaptations, I'd be glad to put it into an open source project and try to adapt all the library.</p>
  
  <p>Thanks.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I created a blog post explaining my solution:
  <a href="http://halexv.blogspot.mx/2015/07/spring-security-4x-csrf-protection-for.html" rel="nofollow">http://halexv.blogspot.mx/2015/07/spring-security-4x-csrf-protection-for.html</a></p>