Created
August 8, 2019 17:08
-
-
Save sabesansathananthan/b9515fbb6bc7aebb3db59e30ee300492 to your computer and use it in GitHub Desktop.
Running a Key Distribution Center
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws Exception { | |
String[] config = MiniKdcConfigBuilder.builder() | |
.workDir(prepareWorkDir()) | |
.confDir("minikdc-krb5.conf") | |
.keytabName("example.keytab") | |
.principals("client/localhost", "HTTP/localhost") | |
.build(); | |
MiniKdc.main(config); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment