JDK-8186047 : Remove deprecated classes in com.sun.security.auth.**
  • Type: CSR
  • Component: security-libs
  • Sub-Component: javax.security
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 10
  • Submitted: 2017-08-09
  • Updated: 2017-08-16
  • Resolved: 2017-08-16
Related Reports
CSR :  
Description
Summary
-------

Remove the deprecated classes in the com.sun.security.auth package that are marked for removal. These are APIs that are exported by the jdk.security.auth module.

Problem
-------

These deprecated classes have been marked for removal in JDK 9. This fulfills that obligation by removing them in the next major release of the JDK.

Solution
--------

Remove the following classes:

- com.sun.security.auth.PolicyFile 
- com.sun.security.auth.SolarisNumericGroupPrincipal 
- com.sun.security.auth.SolarisNumericUserPrincipal 
- com.sun.security.auth.SolarisPrincipal 
- com.sun.security.auth.X500Principal 
- com.sun.security.auth.module.SolarisLoginModule 
- com.sun.security.auth.module.SolarisSystem

Specification
-------------
<pre>
$ hg status -r
R src/jdk.security.auth/share/classes/com/sun/security/auth/PolicyFile.java
R src/jdk.security.auth/share/classes/com/sun/security/auth/SolarisNumericGroupPrincipal.java
R src/jdk.security.auth/share/classes/com/sun/security/auth/SolarisNumericUserPrincipal.java
R src/jdk.security.auth/share/classes/com/sun/security/auth/SolarisPrincipal.java
R src/jdk.security.auth/share/classes/com/sun/security/auth/X500Principal.java
R src/jdk.security.auth/share/classes/com/sun/security/auth/module/SolarisLoginModule.java
R src/jdk.security.auth/share/classes/com/sun/security/auth/module/SolarisSystem.java
</pre>
Comments
Paging Dr. Deprecator! Moving request to approved.
16-08-2017