Skip to content

Most visited

Recently visited

navigation

AccessControlContext

public final class AccessControlContext
extends Object

java.lang.Object
   ↳ java.security.AccessControlContext


Legacy security code; do not use.

Summary

Public constructors

AccessControlContext(ProtectionDomain[] context)
AccessControlContext(AccessControlContext acc, DomainCombiner combiner)

Public methods

void checkPermission(Permission perm)
DomainCombiner getDomainCombiner()

Inherited methods

From class java.lang.Object

Public constructors

AccessControlContext

Added in API level 1
AccessControlContext (ProtectionDomain[] context)

Parameters
context ProtectionDomain

AccessControlContext

Added in API level 1
AccessControlContext (AccessControlContext acc, 
                DomainCombiner combiner)

Parameters
acc AccessControlContext
combiner DomainCombiner

Public methods

checkPermission

Added in API level 1
void checkPermission (Permission perm)

Parameters
perm Permission
Throws
AccessControlException

getDomainCombiner

Added in API level 1
DomainCombiner getDomainCombiner ()

Returns
DomainCombiner
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.