Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

ProtectionDomain

extends Object
java.lang.Object
   ↳ java.security.ProtectionDomain

Class Overview

Legacy security code; do not use.

Summary

Public Constructors
ProtectionDomain ( CodeSource cs, PermissionCollection permissions)
ProtectionDomain ( CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals)
Public Methods
final ClassLoader getClassLoader ()
final CodeSource getCodeSource ()
final PermissionCollection getPermissions ()
final Principal[] getPrincipals ()
boolean implies ( Permission permission)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProtectionDomain ( CodeSource cs, PermissionCollection permissions)

Added in API level 1

public ProtectionDomain ( CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals)

Added in API level 1

Public Methods

public final ClassLoader getClassLoader ()

Added in API level 1

public final CodeSource getCodeSource ()

Added in API level 1

public final PermissionCollection getPermissions ()

Added in API level 1

public final Principal[] getPrincipals ()

Added in API level 1

public boolean implies ( Permission permission)

Added in API level 1