SecurityUtil (Hadoop 0.20.1+169.127 API)
Date: 2011-01-16

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.security
Class SecurityUtil

    java.lang.Object
      org.apache.hadoop.security.SecurityUtil

    public class SecurityUtil

extends Object

Nested Class Summary
`static class` | `SecurityUtil.AccessControlList` Class representing a configured access control list.

Constructor Summary
`SecurityUtil()`

Method Summary
`static Policy` | `getPolicy()` Get the current global security policy for Hadoop.
`static Subject` | `getSubject(UserGroupInformation ugi)` Get the `Subject` for the user identified by `ugi`.
`static void` | `setPolicy(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

### SecurityUtil

    public SecurityUtil()

Method Detail

### setPolicy

    public static void setPolicy(Policy policy)

  Set the global security policy for Hadoop.

  Parameters:
    `policy` - `Policy` used for authorization.

### getPolicy

    public static Policy getPolicy()

  Get the current global security policy for Hadoop.

  Returns:
    the current `Policy`

### getSubject

    public static Subject getSubject(UserGroupInformation ugi)

  Get the `Subject` for the user identified by `ugi`.

  Parameters:
    `ugi` - user
  Returns:
    the `Subject` for the user identified by `ugi`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation