Example usage for org.apache.hadoop.minikdc MiniKdc INSTANCE

List of usage examples for org.apache.hadoop.minikdc MiniKdc INSTANCE

Introduction

In this page you can find the example usage for org.apache.hadoop.minikdc MiniKdc INSTANCE.

Prototype

String INSTANCE

To view the source code for org.apache.hadoop.minikdc MiniKdc INSTANCE.

Click Source Link

Usage

From source file:org.apache.nifi.security.krb.KDCServer.java

License:Apache License

public KDCServer(final File baseDir) {
    this.baseDir = baseDir;

    this.kdcProperties = MiniKdc.createConf();
    this.kdcProperties.setProperty(MiniKdc.INSTANCE, "DefaultKrbServer");
    this.kdcProperties.setProperty(MiniKdc.ORG_NAME, "NIFI");
    this.kdcProperties.setProperty(MiniKdc.ORG_DOMAIN, "COM");
}