| org.apache.commons.logging.security |
|
| Java Source File Name | Type | Comment |
| MockSecurityManager.java | Class | Custom implementation of a security manager, so we can control the
security environment for tests in this package. |
| SecurityAllowedTestCase.java | Class | Tests for logging with a security policy that allows JCL access to everything.
This class has only one unit test, as we are (in part) checking behaviour in
the static block of the LogFactory class. |
| SecurityForbiddenTestCase.java | Class | Tests for logging with a security policy that forbids JCL access to anything.
Performing tests with security permissions disabled is tricky, as building error
messages on failure requires certain security permissions. |