Skip to content
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

SEC-1552: Refactor and improve the code in AuthorizeTag to make it more easily re-usable in other rendering technologies #1794

spring-projects-issues opened this issue Sep 1, 2010 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Sep 1, 2010

Rossen Stoyanchev (Migrated from SEC-1552) said:

The tag is built for JSP pages. It extends from javax.servlet.jsp.tagext.TagSupport, has dependencies on javax.servlet.jsp.*, relies on the presence of javax.servlet.jsp.PageContext, etc.

The ability to use the tag in JSF applications has been a long standing and popular request [SWF-1333]. With Facelets being the standard rendering technology in JSF 2, the need to make the tag usable in Facelets has only increased. Furthermore Facelets in JSF 1.2 uses different packages than Facelets in JSF 2 when Facelets became standard. Hence the re-usable parts of the code for AuthorizeTag need to be factored out and made independent of tag specific dependencies.

Copy link

@spring-projects-issues spring-projects-issues commented Oct 26, 2010

Rossen Stoyanchev said:

The existing AuthorizeTag and its parent LegacyAuthorizeTag have been re-factored into a single base class AbstractAuthorizeTag with no JSP-related dependencies. A new JspAuthorizeTag class extending from AbstractAuthorizeTag implements the JSP Tag interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant