@InterfaceAudience.Public @InterfaceStability.Unstable public class KerberosPrincipal extends Object implements Serializable
Constructor and Description |
---|
KerberosPrincipal() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKeytab()
The URI of the kerberos keytab.
|
String |
getPrincipalName()
The principal name of the service.
|
int |
hashCode() |
KerberosPrincipal |
keytab(String keytab) |
KerberosPrincipal |
principalName(String principalName) |
void |
setKeytab(String keytab) |
void |
setPrincipalName(String principalName) |
String |
toString() |
public KerberosPrincipal principalName(String principalName)
public String getPrincipalName()
public void setPrincipalName(String principalName)
public KerberosPrincipal keytab(String keytab)
public String getKeytab()
public void setKeytab(String keytab)
Copyright © 2023 Apache Software Foundation. All rights reserved.