Added in API level 1

AccessControlContext

public final class AccessControlContext
extends Object

java.lang.Object
   ↳ java.security.AccessControlContext


Android doesn't support SecurityManager. Do not use this class.

Summary

Public constructors

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

Public methods

void checkPermission(Permission perm)
DomainCombiner getDomainCombiner()

Inherited methods

Public constructors

AccessControlContext

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

Parameters
acc AccessControlContext

combiner DomainCombiner

AccessControlContext

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

Parameters
context ProtectionDomain

Public methods

checkPermission

Added in API level 1
public void checkPermission (Permission perm)

Parameters
perm Permission

Throws
AccessControlException

getDomainCombiner

Added in API level 1
public DomainCombiner getDomainCombiner ()

Returns
DomainCombiner