public class SecurityUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
usingKerberos |
| Constructor and Description |
|---|
SecurityUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getServerPrincipal(String configuredPrincipal)
SecurityUtil.getServerPrincipal(String, String) |
static void |
serverLogin(AccumuloConfiguration acuConf)
This method is for logging a server in kerberos.
|
static void |
serverLogin(AccumuloConfiguration acuConf,
String keyTab,
String principal)
Performs a Kerberos login using the given Kerberos principal and keytab if they are non-null
and positive length Strings.
|
public static void serverLogin(AccumuloConfiguration acuConf)
login(String, String)public static void serverLogin(AccumuloConfiguration acuConf, String keyTab, String principal)
Property.GENERAL_KERBEROS_RENEWAL_PERIOD as the
renewal period. This method does nothing if either keyTab or principal are null
or of zero length.acuConf - The Accumulo configurationkeyTab - The path to the Kerberos keytab fileprincipal - The Kerberos principalCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.