SEC-2138: Fix code snippet in Hierarchical Roles section
The bean definition of RoleHierarchyVoter was syntactically incorrect.
This commit is contained in:
parent
0722c8c4eb
commit
83f1d76c16
|
@ -314,7 +314,7 @@ boolean supports(Class clazz);
|
||||||
<programlisting language="xml"><![CDATA[
|
<programlisting language="xml"><![CDATA[
|
||||||
<bean id="roleVoter" class="org.springframework.security.access.vote.RoleHierarchyVoter">
|
<bean id="roleVoter" class="org.springframework.security.access.vote.RoleHierarchyVoter">
|
||||||
<constructor-arg ref="roleHierarchy" />
|
<constructor-arg ref="roleHierarchy" />
|
||||||
</class>
|
</bean>
|
||||||
<bean id="roleHierarchy"
|
<bean id="roleHierarchy"
|
||||||
class="org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl">
|
class="org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl">
|
||||||
<property name="hierarchy">
|
<property name="hierarchy">
|
||||||
|
|
Loading…
Reference in New Issue