| |
|
| com.ecyrd.jspwiki.auth.AuthorizationManagerTest
AuthorizationManagerTest | public class AuthorizationManagerTest extends TestCase (Code) | | Tests the AuthorizationManager class.
author: Janne Jalkanen |
AuthorizationManagerTest | public AuthorizationManagerTest(String s)(Code) | | |
suite | public static Test suite()(Code) | | |
testAssertedSession | public void testAssertedSession() throws Exception(Code) | | |
testAuthenticatedSession | public void testAuthenticatedSession() throws Exception(Code) | | |
testDefaultPermissions | public void testDefaultPermissions() throws Exception(Code) | | Tests the default policy. Anonymous users can read, Authenticated can
edit, etc. Uses the default tests/etc/jspwiki.policy file installed by
the JRE at startup.
throws: Exception - |
testHasRoleOrPrincipal | public void testHasRoleOrPrincipal() throws Exception(Code) | | |
testInheritedAclPermissions | public void testInheritedAclPermissions() throws Exception(Code) | | |
testInheritedPermissions | public void testInheritedPermissions() throws Exception(Code) | | |
testResolveBuiltInRoles | public void testResolveBuiltInRoles()(Code) | | Any principal strings that have same names as built-in roles should
resolve as built-in roles!
|
testStaticPermission | public void testStaticPermission() throws Exception(Code) | | |
|
|
|