Example usage for Java org.apache.hadoop.minikdc MiniKdc fields, constructors, methods, implement or subclass
The text is from its open source code.
String | ORG_NAME |
String | ORG_DOMAIN |
String | KDC_BIND_ADDRESS |
String | INSTANCE |
String | MAX_TICKET_LIFETIME |
String | DEBUG |
MiniKdc(Properties conf, File workDir) Creates a MiniKdc. |
Properties | createConf() Convenience method that returns MiniKdc default configuration. |
void | createPrincipal(String principal, String password) Creates a principal in the KDC with the specified user and password. |
void | createPrincipal(File keytabFile, String... principals) Creates multiple principals in the KDC and adds them to a keytab file. |
int | getPort() Returns the port of the MiniKdc. |
String | getRealm() Returns the realm of the MiniKdc. |