Name
Class com.sun.security.auth.PolicyFile
Synopsis
This class is Sun’s default implementation of the policy checking performed by the Subject.doAs( )
method. It supplies the permissions for a given subject executing code from the given codebase. You may specify a different policy object in the java.security file or via the javax.security.auth.Policy
class.
Class Definition
public class com.sun.security.auth.PolicyFile extends javax.security.auth.Policy { // Constructors public PolicyFile( ); // Instance Methods public PermissionCollection getPermissions(Subject, CodeSource); public synchronized void refresh( ); }
See also
javax.security.auth.Policy
|
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.