SEC-1675: Added missing "body-content" elements to taglib descriptor.

This commit is contained in:
Luke Taylor 2011-02-14 21:31:15 +00:00
parent afd556412e
commit 8e48658efb

View File

@ -3,7 +3,7 @@
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib> <taglib>
<tlib-version>1.1.1</tlib-version> <tlib-version>3.0</tlib-version>
<jsp-version>1.2</jsp-version> <jsp-version>1.2</jsp-version>
<short-name>security</short-name> <short-name>security</short-name>
<uri>http://www.springframework.org/security/tags</uri> <uri>http://www.springframework.org/security/tags</uri>
@ -14,6 +14,7 @@
<tag> <tag>
<name>authorize</name> <name>authorize</name>
<tag-class>org.springframework.security.taglibs.authz.AuthorizeTag</tag-class> <tag-class>org.springframework.security.taglibs.authz.AuthorizeTag</tag-class>
<body-content>JSP</body-content>
<description> <description>
A tag which outputs the body of the tag if the configured access expression A tag which outputs the body of the tag if the configured access expression
evaluates to true for the currently authenticated principal. evaluates to true for the currently authenticated principal.
@ -85,6 +86,7 @@
<tag> <tag>
<name>authentication</name> <name>authentication</name>
<tag-class>org.springframework.security.taglibs.authz.AuthenticationTag</tag-class> <tag-class>org.springframework.security.taglibs.authz.AuthenticationTag</tag-class>
<body-content>empty</body-content>
<description> <description>
Allows access to the current Authentication object. Allows access to the current Authentication object.
</description> </description>
@ -128,6 +130,7 @@
<tag> <tag>
<name>accesscontrollist</name> <name>accesscontrollist</name>
<tag-class>org.springframework.security.taglibs.authz.AccessControlListTag</tag-class> <tag-class>org.springframework.security.taglibs.authz.AccessControlListTag</tag-class>
<body-content>JSP</body-content>
<description> <description>
Allows inclusion of a tag body if the current Authentication Allows inclusion of a tag body if the current Authentication
has one of the specified permissions to the presented has one of the specified permissions to the presented