to top
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