Use type in same module (Maven requirement).

This commit is contained in:
Ben Alex 2006-11-17 03:18:07 +00:00
parent 197a011ac5
commit 6fe569556c

View File

@ -41,7 +41,7 @@ import java.util.Map;
* Integration tests the ACL system using an in-memory database. * Integration tests the ACL system using an in-memory database.
* *
* @author Ben Alex * @author Ben Alex
* @version $Id$ * @version $Id:JdbcAclServiceTests.java 1754 2006-11-17 02:01:21Z benalex $
*/ */
public class JdbcAclServiceTests extends AbstractTransactionalDataSourceSpringContextTests { public class JdbcAclServiceTests extends AbstractTransactionalDataSourceSpringContextTests {
//~ Instance fields ================================================================================================ //~ Instance fields ================================================================================================
@ -66,9 +66,9 @@ public class JdbcAclServiceTests extends AbstractTransactionalDataSourceSpringCo
auth.setAuthenticated(true); auth.setAuthenticated(true);
SecurityContextHolder.getContext().setAuthentication(auth); SecurityContextHolder.getContext().setAuthentication(auth);
ObjectIdentity topParentOid = new ObjectIdentityImpl("sample.contact.Contact", new Long(100)); ObjectIdentity topParentOid = new ObjectIdentityImpl("org.acegisecurity.TargetObject", new Long(100));
ObjectIdentity middleParentOid = new ObjectIdentityImpl("sample.contact.Contact", new Long(101)); ObjectIdentity middleParentOid = new ObjectIdentityImpl("org.acegisecurity.TargetObject", new Long(101));
ObjectIdentity childOid = new ObjectIdentityImpl("sample.contact.Contact", new Long(102)); ObjectIdentity childOid = new ObjectIdentityImpl("org.acegisecurity.TargetObject", new Long(102));
MutableAcl topParent = jdbcMutableAclService.createAcl(topParentOid); MutableAcl topParent = jdbcMutableAclService.createAcl(topParentOid);
MutableAcl middleParent = jdbcMutableAclService.createAcl(middleParentOid); MutableAcl middleParent = jdbcMutableAclService.createAcl(middleParentOid);
@ -200,7 +200,7 @@ public class JdbcAclServiceTests extends AbstractTransactionalDataSourceSpringCo
auth.setAuthenticated(true); auth.setAuthenticated(true);
SecurityContextHolder.getContext().setAuthentication(auth); SecurityContextHolder.getContext().setAuthentication(auth);
ObjectIdentity topParentOid = new ObjectIdentityImpl("sample.contact.Contact", new Long(110)); ObjectIdentity topParentOid = new ObjectIdentityImpl("org.acegisecurity.TargetObject", new Long(110));
MutableAcl topParent = jdbcMutableAclService.createAcl(topParentOid); MutableAcl topParent = jdbcMutableAclService.createAcl(topParentOid);
// Add an ACE permission entry // Add an ACE permission entry