|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.security.SecurityUtil
public class SecurityUtil
Nested Class Summary | |
---|---|
static class |
SecurityUtil.AccessControlList
Class representing a configured access control list. |
Constructor Summary | |
---|---|
SecurityUtil()
|
Method Summary | |
---|---|
static java.security.Policy |
getPolicy()
Get the current global security policy for Hadoop. |
static javax.security.auth.Subject |
getSubject(UserGroupInformation ugi)
Get the Subject for the user identified by ugi . |
static void |
setPolicy(java.security.Policy policy)
Set the global security policy for Hadoop. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityUtil()
Method Detail |
---|
public static void setPolicy(java.security.Policy policy)
policy
- Policy
used for authorization.public static java.security.Policy getPolicy()
Policy
public static javax.security.auth.Subject getSubject(UserGroupInformation ugi)
Subject
for the user identified by ugi
.
ugi
- user
Subject
for the user identified by ugi
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |