mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +00:00
Refactor ACL database tables.
This commit is contained in:
parent
13d5a2dbca
commit
f7b491b699
@ -150,15 +150,6 @@ public class BasicAclProviderTests extends TestCase {
|
|||||||
assertEquals("ROLE_SUPERVISOR", ((BasicAclEntry) acls[1]).getRecipient());
|
assertEquals("ROLE_SUPERVISOR", ((BasicAclEntry) acls[1]).getRecipient());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testGetAclsForInstanceWithoutParent() throws Exception {
|
|
||||||
BasicAclProvider provider = new BasicAclProvider();
|
|
||||||
provider.setBasicAclDao(makePopulatedJdbcDao());
|
|
||||||
|
|
||||||
Object object = new MockDomain(7);
|
|
||||||
AclEntry[] acls = provider.getAcls(object);
|
|
||||||
assertEquals(1, acls.length);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void testGetAclsWithAuthentication() throws Exception {
|
public void testGetAclsWithAuthentication() throws Exception {
|
||||||
BasicAclProvider provider = new BasicAclProvider();
|
BasicAclProvider provider = new BasicAclProvider();
|
||||||
provider.setBasicAclDao(makePopulatedJdbcDao());
|
provider.setBasicAclDao(makePopulatedJdbcDao());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user