Browse Source

SEC-2010: Include missing <value> tag in Hierarchical Roles section of the reference

Rob Winch 13 years ago
parent
commit
095dcb3a74
1 changed files with 5 additions and 3 deletions
  1. 5 3
      docs/manual/src/docbook/authorization-common.xml

+ 5 - 3
docs/manual/src/docbook/authorization-common.xml

@@ -318,9 +318,11 @@ boolean supports(Class clazz);
 <bean id="roleHierarchy"
         class="org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl">
     <property name="hierarchy">
-        ROLE_ADMIN > ROLE_STAFF
-        ROLE_STAFF > ROLE_USER
-        ROLE_USER > ROLE_GUEST
+        <value>
+            ROLE_ADMIN > ROLE_STAFF
+            ROLE_STAFF > ROLE_USER
+            ROLE_USER > ROLE_GUEST
+        </value>
     </property>
 </bean>]]>
 </programlisting>