public class KerberosSecurityTestcase
extends java.lang.Object
Users can directly inherit this class and implement their own test functions using the default settings, or override functions getTestDir() and createMiniKdcConf() to provide new settings.
| Constructor | Description |
|---|---|
KerberosSecurityTestcase() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
createMiniKdcConf() |
Create a Kdc configuration
|
void |
createTestDir() |
Create a working directory, it should be the build directory.
|
java.util.Properties |
getConf() |
|
MiniKdc |
getKdc() |
|
java.io.File |
getWorkDir() |
|
void |
startMiniKdc() |
|
void |
stopMiniKdc() |
public void startMiniKdc()
throws java.lang.Exception
java.lang.Exceptionpublic void createTestDir()
public void createMiniKdcConf()
public void stopMiniKdc()
public MiniKdc getKdc()
public java.io.File getWorkDir()
public java.util.Properties getConf()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.