KickJava   Java API By Example, From Geeks To Geeks.

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

java.security
Class Policy

java.lang.Object
  extended by java.security.Policy
See Also:
Top Examples, Source Code, implies, CodeSource, PermissionCollection, SecureClassLoader

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


public PermissionCollection getPermissions(ProtectionDomain domain)
See Also:
SecureClassLoader
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Policy getPolicy()
See Also:
setPolicy(java.security.Policy), SecurityManager.checkPermission(Permission), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean implies(ProtectionDomain domain,
                       Permission permission)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


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


public abstract void refresh()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static void setPolicy(Policy p)
See Also:
getPolicy(), SecurityManager.checkPermission(Permission), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags