AccessController - JRE Emulation | JRE Emulation
public final class

AccessController

extends Object
java.lang.Object
   ↳ java.security.AccessController

Class Overview

Legacy security code; do not use.

Summary

Public Methods
static void checkPermission(Permission permission)
static <T> T doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context)
Calls action.run().
static <T> T doPrivileged(PrivilegedExceptionAction<T> action)
Calls action.run().
static <T> T doPrivileged(PrivilegedAction<T> action)
Calls action.run().
static <T> T doPrivileged(PrivilegedAction<T> action, AccessControlContext context)
Calls action.run().
static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action)
Calls action.run().
static <T> T doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action)
Calls action.run().
static AccessControlContext getContext()
Inherited Methods
[Expand]
From class java.lang.Object

Public Methods

public static void checkPermission (Permission permission)

public static T doPrivileged (PrivilegedExceptionAction<T> action, AccessControlContext context)

Calls action.run().

public static T doPrivileged (PrivilegedExceptionAction<T> action)

Calls action.run().

public static T doPrivileged (PrivilegedAction<T> action)

Calls action.run().

public static T doPrivileged (PrivilegedAction<T> action, AccessControlContext context)

Calls action.run().

public static T doPrivilegedWithCombiner (PrivilegedAction<T> action)

Calls action.run().

public static T doPrivilegedWithCombiner (PrivilegedExceptionAction<T> action)

Calls action.run().

public static AccessControlContext getContext ()