public class SecurityConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
SecurityConfiguration(org.apache.hadoop.conf.Configuration configuration,
AggregateConf instanceDefinition,
String clusterName) |
| Modifier and Type | Method and Description |
|---|---|
File |
getKeytabFile(AggregateConf instanceDefinition) |
protected org.apache.hadoop.security.UserGroupInformation |
getLoginUser() |
String |
getPrincipal() |
boolean |
isKeytabProvided() |
boolean |
isSecurityEnabled() |
public SecurityConfiguration(org.apache.hadoop.conf.Configuration configuration,
AggregateConf instanceDefinition,
String clusterName)
throws SliderException
SliderExceptionprotected org.apache.hadoop.security.UserGroupInformation getLoginUser()
throws IOException
IOExceptionpublic boolean isSecurityEnabled()
public String getPrincipal() throws IOException
IOExceptionpublic boolean isKeytabProvided()
public File getKeytabFile(AggregateConf instanceDefinition) throws SliderException, IOException
SliderExceptionIOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.