Skip to content

SEC-2610: spring-faces + probleme with url parameters #2826

Open
@spring-projects-issues

Description

AndreeTago (Migrated from SEC-2610) said:

i want to explor the spring security taglibs in my xhtml page so for that i do this steps:

  1. create a springsecurity.taglib.xml:
http://www.springframework.org/security/tags authorize org.springframework.faces.security.FaceletsA uthorizeTagHandler areAllGranted org.springframework.faces.security.FaceletsA uthorizeTagUtils boolean areAllGranted(java.lang.String) areAnyGranted org.springframework.faces.security.FaceletsA uthorizeTagUtils boolean areAnyGranted(java.lang.String) areNotGranted org.springframework.faces.security.FaceletsA uthorizeTagUtils boolean areNotGranted(java.lang.String) isAllowed org.springframework.faces.security.FaceletsA uthorizeTagUtils boolean isAllowed(java.lang.String, java.lang.String)
  1. Register the above file in web.xml
javax.faces.FACELETS_LIBRARIES /WEB-INF/springsecurity.taglib.xml

when i deploy my project I get an error that requires me to add a spring-faces to solve it, but i get a new problem that the jsf url parametred no longer works(like http://localhost:8080/projet/etudiant.jsf?idEtudiant=2 ). before adding the spring-faces dependency it work's fine, the problem begin when i add this dependency of spring-faces

have you any idea about this probleme and thank you

Metadata

Assignees

No one assigned

    Labels

    in: taglibsAn issue in spring-security-taglibstype: bugA general bugtype: jiraAn issue that was migrated from JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions