当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
LDAPTestCase - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.identity
Class LDAPTestCase
java.lang.Object
junit.framework.TestCase
org.jboss.portal.test.identity.LDAPTestCase
- All Implemented Interfaces:
- MembershipStrategyTest.Context
- Direct Known Subclasses:
- LDAPMembershipStrategyTestCase, LDAPSimpleRoleModuleTestCase, LDAPSimpleUserModuleTestCase
- public abstract class LDAPTestCase
- extends junit.framework.TestCase
- implements MembershipStrategyTest.Context
- Version:
- $Revision: 5247 $
- Author:
- Julien Viet, Boleslaw Dawidowicz
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.jboss.logging.Logger log
runtimeContext
protected TestRuntimeContext runtimeContext
dsConfig
private DSConfig dsConfig
LDAPTestCase
public LDAPTestCase()
LDAPTestCase
public LDAPTestCase(java.util.Map parametrization)
LDAPTestCase
public LDAPTestCase(DSConfig dsConfig)
getName
public java.lang.String getName()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Throws:
java.lang.Exception
begin
public void begin()
- Specified by:
begin
in interface MembershipStrategyTest.Context
commit
public void commit()
- Specified by:
commit
in interface MembershipStrategyTest.Context
populate
protected void populate()
cleanUp
protected void cleanUp()
getDirContext
protected javax.naming.directory.DirContext getDirContext()
throws java.lang.Exception
- Throws:
java.lang.Exception
removeContext
protected void removeContext(javax.naming.Context mainCtx,
java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
createConnectionContext
public LDAPConnectionContext createConnectionContext()