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

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.test.ConditionalTestCase
              extended by org.springframework.test.AbstractSpringContextTests
                  extended by org.springframework.test.AbstractSingleSpringContextTests
                      extended by org.springframework.test.AbstractDependencyInjectionSpringContextTests
                          extended by org.springframework.test.AbstractTransactionalSpringContextTests
                              extended by org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
                                  extended by org.alfresco.util.BaseSpringTest
                                      extended by org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
                                          extended by org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationTest
All Implemented Interfaces:
junit.framework.Test

public class ACLEntryAfterInvocationTest
extends AbstractPermissionTest


Nested Class Summary
static class ACLEntryAfterInvocationTest.ClassWithMethods
           
 class ACLEntryAfterInvocationTest.Interceptor
           
 
Field Summary
 
Fields inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
aclDaoComponent, authenticationComponent, authenticationService, authorityDAO, authorityService, dictionaryService, namespacePrefixResolver, nodeDaoService, nodeService, permissionModelDAO, permissionService, personService, retryingTransactionHelper, ROLE_AUTHENTICATED, rootNodeRef, serviceRegistry, sessionFactory, systemNodeRef
 
Fields inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
jdbcTemplate
 
Fields inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
transactionDefinition, transactionManager, transactionStatus
 
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
 
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests
applicationContext
 
Fields inherited from class org.springframework.test.ConditionalTestCase
logger
 
Constructor Summary
ACLEntryAfterInvocationTest()
           
 
Method Summary
 void testBasicAllowChildAssociationRef1()
           
 void testBasicAllowChildAssociationRef2()
           
 void testBasicAllowNode()
           
 void testBasicAllowNodeParent()
           
 void testBasicAllowNullChildAssociationRef1()
           
 void testBasicAllowNullChildAssociationRef2()
           
 void testBasicAllowNullNode()
           
 void testBasicAllowNullResultSet()
           
 void testBasicAllowNullStore()
           
 void testBasicAllowStore()
           
 void testBasicAllowUnrecognisedObject()
           
 void testBasicDenyChildAssocRef1()
           
 void testBasicDenyChildAssocRef2()
           
 void testBasicDenyNode()
           
 void testBasicDenyStore()
           
 void testResultSetFilterAll()
           
 void testResultSetFilterForNullParentOnly()
           
 void testResultSetFilterNone1()
           
 void testResultSetFilterNone2()
           
 
Methods inherited from class org.alfresco.repo.security.permissions.impl.AbstractPermissionTest
getPermission, onSetUpInTransaction, onTearDownInTransaction, runAs
 
Methods inherited from class org.alfresco.util.BaseSpringTest
flushAndClear, getConfigLocations, getSession, loadContext, setSessionFactory
 
Methods inherited from class org.springframework.test.AbstractTransactionalDataSourceSpringContextTests
countRowsInTable, deleteFromTables, executeSqlScript, getJdbcTemplate, setComplete, setDataSource, setSqlScriptEncoding
 
Methods inherited from class org.springframework.test.AbstractTransactionalSpringContextTests
endTransaction, isDefaultRollback, isRollback, onSetUp, onSetUpBeforeTransaction, onTearDown, onTearDownAfterTransaction, preventTransaction, setDefaultRollback, setTransactionDefinition, setTransactionManager, startNewTransaction
 
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
 
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
 
Methods inherited from class org.springframework.test.ConditionalTestCase
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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

ACLEntryAfterInvocationTest

public ACLEntryAfterInvocationTest()
Method Detail

testBasicAllowNullNode

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

testBasicAllowNullStore

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

testBasicAllowUnrecognisedObject

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

testBasicDenyStore

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

testBasicDenyNode

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

testBasicAllowNode

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

testBasicAllowStore

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

testBasicAllowNodeParent

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

testBasicAllowNullChildAssociationRef1

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

testBasicAllowNullChildAssociationRef2

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

testBasicDenyChildAssocRef1

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

testBasicDenyChildAssocRef2

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

testBasicAllowChildAssociationRef1

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

testBasicAllowChildAssociationRef2

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

testBasicAllowNullResultSet

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

testResultSetFilterAll

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

testResultSetFilterForNullParentOnly

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

testResultSetFilterNone1

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

testResultSetFilterNone2

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


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