|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.AuthUtil
@InterfaceAudience.Public @InterfaceStability.Evolving public class AuthUtil
Utility methods for helping with security tasks.
| Field Summary | |
|---|---|
static String |
GROUP_PREFIX
Prefix character to denote group names |
| Method Summary | |
|---|---|
static String |
getGroupName(String aclKey)
Returns the actual name for a group principal (stripped of the group prefix). |
static boolean |
isGroupPrincipal(String name)
Returns whether or not the given name should be interpreted as a group principal. |
static void |
launchAuthChore(org.apache.hadoop.conf.Configuration conf)
Checks if security is enabled and if so, launches chore for refreshing kerberos ticket. |
static String |
toGroupEntry(String name)
Returns the group entry with the group prefix for a group principal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String GROUP_PREFIX
| Method Detail |
|---|
public static void launchAuthChore(org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic static boolean isGroupPrincipal(String name)
public static String getGroupName(String aclKey)
public static String toGroupEntry(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||