public class KerberosSecurityTestcase extends 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 and Description |
---|
KerberosSecurityTestcase() |
Modifier and Type | Method and Description |
---|---|
void |
createMiniKdcConf()
Create a Kdc configuration
|
void |
createTestDir()
Create a working directory, it should be the build directory.
|
Properties |
getConf() |
MiniKdc |
getKdc() |
File |
getWorkDir() |
void |
startMiniKdc() |
void |
stopMiniKdc() |
public void createTestDir()
public void createMiniKdcConf()
public void stopMiniKdc()
public MiniKdc getKdc()
public File getWorkDir()
public Properties getConf()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.