org.alfresco.repo.security.permissions.impl.acegi
Class ACLEntryVoterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
              extended by org.alfresco.repo.security.permissions.impl.acegi.ACLEntryVoterTest
All Implemented Interfaces:
junit.framework.Test

public class ACLEntryVoterTest
extends AbstractPermissionTest


Nested Class Summary
static class ACLEntryVoterTest.ClassWithMethods
           
 class ACLEntryVoterTest.Interceptor
           
 
Field Summary
 
Fields inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
aclDaoComponent, authenticationComponent, authenticationService, authorityDAO, authorityService, dictionaryService, namespacePrefixResolver, nodeDAO, nodeService, permissionModelDAO, permissionService, personService, retryingTransactionHelper, ROLE_AUTHENTICATED, rootNodeRef, serviceRegistry, sessionFactory, systemNodeRef
 
Constructor Summary
ACLEntryVoterTest()
           
 
Method Summary
 void testAllowChildAssocNode()
           
 void testAllowNullChild()
           
 void testAllowNullNode()
           
 void testAllowNullParent()
           
 void testAllowNullParentOnRealChildAssoc()
           
 void testAllowNullStore()
           
 void testBasicAllow()
           
 void testBasicAllowChildAssocNode()
           
 void testBasicAllowNode()
           
 void testBasicAllowParentAssocNode()
           
 void testBasicAllowStore()
           
 void testBasicDenyChildAssocNode()
           
 void testBasicDenyNode()
           
 void testBasicDenyParentAssocNode()
           
 void testBasicDenyStore()
           
 void testDenyParentAssocNode()
           
 void testMethodACL()
           
 void testMethodACL2()
           
 void testMethodACL3()
           
 void testMethodACL4()
           
 void testMultiChildAssocRefMethodsArg0()
           
 void testMultiChildAssocRefMethodsArg1()
           
 void testMultiChildAssocRefMethodsArg2()
           
 void testMultiChildAssocRefMethodsArg3()
           
 void testMultiNodeMethodsArg0()
           
 void testMultiNodeMethodsArg1()
           
 void testMultiNodeMethodsArg2()
           
 void testMultiNodeMethodsArg3()
           
 
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
getPermission, runAs, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ACLEntryVoterTest

public ACLEntryVoterTest()
Method Detail

testBasicDenyNode

public void testBasicDenyNode()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyStore

public void testBasicDenyStore()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testAllowNullNode

public void testAllowNullNode()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testAllowNullStore

public void testAllowNullStore()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testAllowNullParentOnRealChildAssoc

public void testAllowNullParentOnRealChildAssoc()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testAllowNullParent

public void testAllowNullParent()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAllowNullChild

public void testAllowNullChild()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyChildAssocNode

public void testBasicDenyChildAssocNode()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testBasicDenyParentAssocNode

public void testBasicDenyParentAssocNode()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowNode

public void testBasicAllowNode()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllow

public void testBasicAllow()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowStore

public void testBasicAllowStore()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowChildAssocNode

public void testBasicAllowChildAssocNode()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testBasicAllowParentAssocNode

public void testBasicAllowParentAssocNode()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testDenyParentAssocNode

public void testDenyParentAssocNode()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testAllowChildAssocNode

public void testAllowChildAssocNode()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testMultiNodeMethodsArg0

public void testMultiNodeMethodsArg0()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testMultiNodeMethodsArg1

public void testMultiNodeMethodsArg1()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testMultiNodeMethodsArg2

public void testMultiNodeMethodsArg2()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testMultiNodeMethodsArg3

public void testMultiNodeMethodsArg3()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testMultiChildAssocRefMethodsArg0

public void testMultiChildAssocRefMethodsArg0()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testMultiChildAssocRefMethodsArg1

public void testMultiChildAssocRefMethodsArg1()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testMultiChildAssocRefMethodsArg2

public void testMultiChildAssocRefMethodsArg2()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testMultiChildAssocRefMethodsArg3

public void testMultiChildAssocRefMethodsArg3()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testMethodACL

public void testMethodACL()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testMethodACL2

public void testMethodACL2()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testMethodACL3

public void testMethodACL3()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testMethodACL4

public void testMethodACL4()
                    throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.