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

SolarisSystem should be @Deprecated and @jdk.Exported(false)

XMLWordPrintable

      In JAAS, there are a number of classes around the SolarisLoginModule:

      com/sun/security/auth//module/SolarisLoginModule.java
      com/sun/security/auth//module/SolarisSystem.java
      com/sun/security/auth//SolarisNumericGroupPrincipal.java
      com/sun/security/auth//SolarisNumericUserPrincipal.java
      com/sun/security/auth//SolarisPrincipal.java

      All of these classes (except for SolarisSystem) were deprecated back in 2000. We should also deprecate SolarisSystem. This class is only referenced in SolarisLoginModule.

      Also, JDK-8008662 introduced @jdk.Exported and it marked several deprecated classes (including the deprecated JAAS Solaris*** classes) to @jdk.Exported(false). Now that SolarisSystem is becoming deprecated, it should also be changed to @jdk.Exported(false).

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: