API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth. Policy View Source
Author(s)
Since
Version
1.52, 11/17/05
Serial
Hierarchy
 Object
      Policy
Implements
Subclasses
Description
@Deprecated
publicabstract abstract class Policy
  This is an abstract class for representing the system policy for Subject-based authorization.
See also:   
Constructors
protected Policy ()
  Sole constructor.
Methods
Hide/Show inherited methods
publicabstract PermissionCollection getPermissions (Subject subject, CodeSource cs)
  Retrieve the Permissions granted to the Principals associated with the specified CodeSource.
publicstatic Policy getPolicy ()
  Returns the installed Policy object.
pack-privatestatic Policy getPolicyNoCheck ()
  Returns the installed Policy object, skipping the security check.
publicabstract void refresh ()
  Refresh and reload the Policy.
publicstatic void setPolicy (Policy policy)
  Sets the system-wide Policy object.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar