Initiate a LocalKadminImpl
Initiate a LocalKadminImpl with prepared KdcConfig and BackendConfig.
LocalKadmin kadmin = new LocalKadminImpl(kdcConfig, backendConfig);
Initiate a LocalKadmin with confDir.
LocalKadmin kadmin = new LocalKadminImpl(confDir);
Initiate a LocalKadmin with kdcSetting and backend.
LocalKadmin kadmin = new LocalKadminImpl(kdcSetting, backend);
Add principle with principal name.
addPrincipal(principal);
Add principle with principal name and password.
addPrincipal(principal, password);
Add principle with principal name and kOptions.
addPrincipal(principal, kOptions);
Add principle with principal name, password and kOptions.
addPrincipal(principal, password kOptions);
Delete principle with principal name.
deletePrincipal(principal);
Modify principle with principal name and kOptions.
modifyPrincipal(principal, kOptions);
renamePrincipal(oldPrincipalName, newPrincipalName);
Get principle with principal name.
getPrincipal(principalName);
getPrincipals();
Update password with principal name and new password.
updatePassword(principal, newPassword);
Export all identity keys to the specified keytab file.
exportKeyTab(keyTabFile);