@ShellComponent public class KerberosAuthenticationCommand extends Object
| Constructor and Description |
|---|
KerberosAuthenticationCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
destroyKerberosAuthentication(String krb5ConfPath) |
String |
performKerberosAuthentication(String krb5ConfPath,
String principal,
String keytabPath) |
@ShellMethod(key="kerberos kinit",
value="Perform Kerberos authentication")
public String performKerberosAuthentication(@ShellOption(value="--krb5conf",help="Path to krb5.conf",defaultValue="/etc/krb5.conf")
String krb5ConfPath,
@ShellOption(value="--principal",help="Kerberos principal")
String principal,
@ShellOption(value="--keytab",help="Path to keytab")
String keytabPath)
throws IOException
IOException@ShellMethod(key="kerberos kdestroy",
value="Destroy Kerberos authentication")
public String destroyKerberosAuthentication(@ShellOption(value="--krb5conf",help="Path to krb5.conf",defaultValue="/etc/krb5.conf")
String krb5ConfPath)
throws IOException
IOExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.