Java java.security AccessController fields, constructors, methods, implement or subclass

Example usage for Java java.security AccessController fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.security AccessController.

The text is from its open source code.

Method

voidcheckPermission(Permission perm)
Determines whether the access request indicated by the specified permission should be allowed or denied, based on the current AccessControlContext and security policy.
TdoPrivileged(PrivilegedAction action)
Performs the specified PrivilegedAction with privileges enabled.
TdoPrivileged(PrivilegedExceptionAction action)
Performs the specified PrivilegedExceptionAction with privileges enabled.
TdoPrivileged(PrivilegedAction action, AccessControlContext context)
Performs the specified PrivilegedAction with privileges enabled and restricted by the specified AccessControlContext .
TdoPrivileged(PrivilegedExceptionAction action, AccessControlContext context)
Performs the specified PrivilegedExceptionAction with privileges enabled and restricted by the specified AccessControlContext .
TdoPrivilegedWithCombiner(PrivilegedAction action)
Performs the specified PrivilegedAction with privileges enabled.
TdoPrivilegedWithCombiner(PrivilegedExceptionAction action)
Performs the specified PrivilegedExceptionAction with privileges enabled.
AccessControlContextgetContext()
This method takes a "snapshot" of the current calling context, which includes the current Thread's inherited AccessControlContext and any limited privilege scope, and places it in an AccessControlContext object.