Most visited

Recently visited

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

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

Hooray!