Deprecated API


Deprecated Classes

Class and Description
javax.security.auth.Policy
as of JDK version 1.4 -- Replaced by java.security.Policy. java.security.Policy has a method:
        public PermissionCollection getPermissions
            (java.security.ProtectionDomain pd)
 
 
and ProtectionDomain has a constructor:
        public ProtectionDomain
            (CodeSource cs,
             PermissionCollection permissions,
             ClassLoader loader,
             Principal[] principals)
 
These two APIs provide callers the means to query the Policy for Principal-based Permission entries.
com.ibm.security.auth.PolicyFile
As of JDK 1.4, replaced by sun.security.provider.PolicyFile. This class is entirely deprecated.
com.ibm.security.auth.X500Principal
A new X500Principal class is available in the Java platform. This X500Principal classs is entirely deprecated and is here to allow for a smooth transition to the new class.