public class HadoopSecurity
extends java.lang.Object
Constructor and Description |
---|
HadoopSecurity() |
HadoopSecurity(SecurityAuthMethod securityAuthMethod,
java.lang.String userPrincipal,
java.lang.String userKeytab) |
HadoopSecurity(SecurityAuthMethod securityAuthMethod,
java.lang.String userPrincipal,
java.lang.String userKeytab,
java.lang.String rmManagerPrincipal,
java.lang.String namenodePrincipal) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamenodePrincipal() |
java.lang.String |
getRmManagerPrincipal() |
SecurityAuthMethod |
getSecurityAuthMethod() |
java.lang.String |
getUserKeytab() |
java.lang.String |
getUserPrincipal() |
void |
setNamenodePrincipal(java.lang.String namenodePrincipal) |
void |
setRmManagerPrincipal(java.lang.String rmManagerPrincipal) |
void |
setSecurityAuthMethod(SecurityAuthMethod securityAuthMethod) |
void |
setUserKeytab(java.lang.String userKeytab) |
void |
setUserPrincipal(java.lang.String userPrincipal) |
public HadoopSecurity()
public HadoopSecurity(SecurityAuthMethod securityAuthMethod, java.lang.String userPrincipal, java.lang.String userKeytab)
public HadoopSecurity(SecurityAuthMethod securityAuthMethod, java.lang.String userPrincipal, java.lang.String userKeytab, java.lang.String rmManagerPrincipal, java.lang.String namenodePrincipal)
public SecurityAuthMethod getSecurityAuthMethod()
public void setSecurityAuthMethod(SecurityAuthMethod securityAuthMethod)
public java.lang.String getUserPrincipal()
public void setUserPrincipal(java.lang.String userPrincipal)
public java.lang.String getUserKeytab()
public void setUserKeytab(java.lang.String userKeytab)
public java.lang.String getRmManagerPrincipal()
public void setRmManagerPrincipal(java.lang.String rmManagerPrincipal)
public java.lang.String getNamenodePrincipal()
public void setNamenodePrincipal(java.lang.String namenodePrincipal)