站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortalPermissionTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.security
Class PortalPermissionTestCase

java.lang.Object
  extended byTestCase
      extended byorg.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

Field Summary
protected  Server server
           
 
Constructor Summary
PortalPermissionTestCase(java.lang.String name)
           
 
Method Summary
protected  void addContainerToRole(java.lang.String roleName, PortalPermission container)
           
protected  boolean implies(PortalPermission permission, java.security.Principal[] principals)
           
 void setUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected Server server
Constructor Detail

PortalPermissionTestCase

public PortalPermissionTestCase(java.lang.String name)
Method Detail

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)