1
0
mirror of synced 2026-08-06 02:08:01 +00:00

SEC-1533: AclAuthorizationStrategyImpl can now take either one or three GrantedAuthority arguments. If only one is supplied, it will be used for all 3 of the permissions supported by the class.

This commit is contained in:
Luke Taylor
2010-08-07 14:41:25 +01:00
parent acad848690
commit 1a838c2049
4 changed files with 26 additions and 29 deletions
@@ -30,17 +30,9 @@
<constructor-arg>
<bean class="org.springframework.security.acls.domain.AclAuthorizationStrategyImpl">
<constructor-arg>
<list>
<bean class="org.springframework.security.core.authority.GrantedAuthorityImpl">
<constructor-arg value="ROLE_ADMINISTRATOR"/>
</bean>
<bean class="org.springframework.security.core.authority.GrantedAuthorityImpl">
<constructor-arg value="ROLE_ADMINISTRATOR"/>
</bean>
<bean class="org.springframework.security.core.authority.GrantedAuthorityImpl">
<constructor-arg value="ROLE_ADMINISTRATOR"/>
</bean>
</list>
</constructor-arg>
</bean>
</constructor-arg>
@@ -37,7 +37,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
*
* @author David Leal
* @author Ben Alex
* @Author Luke Taylor
* @author Luke Taylor
*/
@ContextConfiguration(locations={
"/applicationContext-security.xml",