Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8186047

Remove deprecated classes in com.sun.security.auth.**

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 10
    • Component/s: security-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      source, binary
    • Compatibility Risk:
      medium
    • Compatibility Risk Description:
      The number of applications impacted should be extremely low, but the impact is obviously high if affected, so a medium risk seems appropriate.
    • Interface Kind:
      Java API
    • Scope:
      JDK

      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

      $ 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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mullan Sean Mullan
                Reporter:
                weijun Weijun Wang
                Reviewed By:
                Weijun Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: