当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PortalPermissionTestCase - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.security
Class PortalPermissionTestCase
java.lang.Object
TestCase
org.jboss.portal.test.security.PortalPermissionTestCase
- Direct Known Subclasses:
- PortalObjectPermissionTestCase, SimpleTestCase
- public class PortalPermissionTestCase
- extends TestCase
A test case to extend to perform testing of portal permission subclasses.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected Server server
PortalPermissionTestCase
public PortalPermissionTestCase(java.lang.String name)
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
addContainerToRole
protected void addContainerToRole(java.lang.String roleName,
PortalPermission container)
throws java.lang.Exception
- Throws:
java.lang.Exception
implies
protected boolean implies(PortalPermission permission,
java.security.Principal[] principals)