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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content