Skip to content

SEC-524: Taglibs can define a scripting variable based on the logic result of the tag. #785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Aug 13, 2007 · 1 comment · Fixed by #14744
Labels
in: taglibs An issue in spring-security-taglibs type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

Ezequiel Chávez(Migrated from SEC-524) said:

Taglibs can define a scripting variable based on the logic result of the tag, similar to struts in this case jsp looks like this:

<%— optional toScope attribute —%>




/c:if
/logic:iterate

to improve in performance of iteration over lists.

I know that it is possible to be done in this way:

/authz:authorize

but it would be nice to include this feature to all taglibs. if a BaseTag is developed this could do that function, and the subclasses (AccessControlListTag, AclTag, AuthenticationTag, AuthorizeTag) inherit this functionality.

@spring-projects-issues
Copy link
Author

Luke Taylor said:

I've added a "var" variable to th authorize and accesscontrollist tags which can be used to store the boolean result of the access decision.

@spring-projects-issues spring-projects-issues added in: taglibs An issue in spring-security-taglibs Closed type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@spring-projects-issues spring-projects-issues added this to the 3.1.0.M1 milestone Feb 5, 2016
@rwinch rwinch added the type: enhancement A general enhancement label May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: taglibs An issue in spring-security-taglibs type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@rwinch @spring-projects-issues and others