JSF with spring security rendering issue on Jboss EAP 7

Solution Verified - Updated -

Issue

  • Random exception, when it happens, it occurs at server start, when using the tag <sec:authorize access="hasRole('ROLE_SUPER_ADMIN')">, without the tag all works fine.

    javax.faces.view.facelets.TagAttributeException: /WEB-INF/template.xhtml @30,55 <ui:include src="/WEB-INF/menu.xhtml"> Invalid path : /WEB-INF/menu.xhtml
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.0
  • JSF
    • 2
  • Spring Boot
    • 1.5.3
  • Spring Security
    • 4.3.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.