14 Deprecated Security APIs Marked for Removal

The following APIs are deprecated and eligible to be removed in a future release.

You can check the API dependencies using the jdeprscan tool. See jdeprscan in Java Platform, Standard Edition Tools Reference.

The following classes are deprecated and marked for removal:

  • 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
The following methods are deprecated and marked for removal:
  • java.lang.SecurityManager.getInCheck
  • java.lang.SecurityManager.checkMemberAccess
  • java.lang.SecurityManager.classDepth
  • java.lang.SecurityManager.currentClassLoader
  • java.lang.SecurityManager.currentLoadedClass
  • java.lang.SecurityManager.inClass
  • java.lang.SecurityManager.inClassLoader
  • java.lang.SecurityManager.checkAwtEventQueueAccess
  • java.lang.SecurityManager.checkTopLevelWindow
  • java.lang.SecurityManager.checkSystemClipboardAccess

The following field is deprecated and marked for removal:

  • java.lang.SecurityManager.incheck