lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

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

Public constructors

AccessControlContext

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

Parameters
context ProtectionDomain

AccessControlContext

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

Parameters
acc AccessControlContext

combiner DomainCombiner

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