@InterfaceAudience.Private @InterfaceStability.Evolving public class AuthUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
GROUP_PREFIX
Prefix character to denote group names 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ScheduledChore | 
getAuthChore(Configuration conf)
Checks if security is enabled and if so, launches chore for refreshing kerberos ticket. 
 | 
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 String | 
toGroupEntry(String name)
Returns the group entry with the group prefix for a group principal. 
 | 
public static final String GROUP_PREFIX
public static ScheduledChore getAuthChore(Configuration conf) throws IOException
IOExceptionpublic static boolean isGroupPrincipal(String name)
public static String getGroupName(String aclKey)