org.apache.accumulo.server.security
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 boolean |
login(String principalConfig,
String keyTabPath)
This will log in the given user in kerberos.
|
static void |
serverLogin(AccumuloConfiguration acuConf)
This method is for logging a server in kerberos.
|
public static void serverLogin(AccumuloConfiguration acuConf)
login(String, String)public static boolean login(String principalConfig, String keyTabPath)
principalConfig - This is the principals name in the format NAME/HOST@REALM. SecurityUtil.HOSTNAME_PATTERN will automatically be
replaced by the systems host name.Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.