Policy


Policy javax.security.auth

Java 1.4; Deprecated in 1.4 @Deprecated

This deprecated class represents a Subject-based security policy. Because the JAAS API (this package and its subpackages) were introduced as an extension to the core Java platform, this class was required to augment the java.security.Policy class which, prior to Java 1.4, had no provisions for Subject-based authorization. In Java 1.4, however, java.security.Policy has been extended to represent security policies based on code origin, code signers, and subjects. Thus, this class is no longer required and has been deprecated.

 public abstract class  Policy  {  // Protected Constructors  protected  Policy  ( );  // Public Class Methods  public static javax.security.auth.Policy  getPolicy  ( );        public static void  setPolicy  (javax.security.auth.Policy  policy  );  // Public Instance Methods  public abstract java.security.PermissionCollection  getPermissions  (Subject  subject  ,         java.security.CodeSource  cs  );        public abstract void  refresh  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net