Java org.apache.hadoop.minikdc MiniKdc fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.minikdc MiniKdc fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.minikdc MiniKdc.

The text is from its open source code.

Field

Constructor

Method

PropertiescreateConf()
Convenience method that returns MiniKdc default configuration.
voidcreatePrincipal(String principal, String password)
Creates a principal in the KDC with the specified user and password.
voidcreatePrincipal(File keytabFile, String... principals)
Creates multiple principals in the KDC and adds them to a keytab file.
intgetPort()
Returns the port of the MiniKdc.
StringgetRealm()
Returns the realm of the MiniKdc.