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(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 |