Java Kadmin makes interaction with kadmin from java apps easier.
- Use
java-kadmin-template
for your application (or make surekadmin
executable is available) - Add
java-kadmin-client
dependency to your project:
<dependency>
<groupId>io.github.vyaslav</groupId>
<artifactId>java-kadmin-client</artifactId>
<version>0.9</version>
</dependency>
- Construct
KadminCommandsRunner
with admin principal, its keytab and krb5.conf location - Use
KadminCommandsRunner::runCommand
to run kadmin commands available atio/github/vyaslav/kadmin/commands