KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > security > ProtectionDomain

java.security
Class ProtectionDomain

java.lang.Object
  extended by java.security.ProtectionDomain
See Also:
Top Examples, Source Code

public final ClassLoader getClassLoader()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final CodeSource getCodeSource()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final PermissionCollection getPermissions()
See Also:
Policy.getPermissions(ProtectionDomain), Policy.refresh()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final Principal[] getPrincipals()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean implies(Permission permission)
See Also:
dynamically binding, statically bound
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ProtectionDomain(CodeSource codesource,
                        PermissionCollection permissions)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ProtectionDomain(CodeSource codesource,
                        PermissionCollection permissions,
                        ClassLoader classloader,
                        Principal[] principals)
See Also:
Policy.getPermissions(ProtectionDomain), Policy.refresh(), DomainCombiners, ClassLoaders
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags