Class DirContextUtils


  • final class DirContextUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DirContextUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void addNameServers​(java.util.List<java.net.InetSocketAddress> defaultNameServers, int defaultPort)  
      (package private) static boolean isIbmI​(java.lang.String osName)
      On IBM i the JNDI lookup ends up in LoadDnsConfig, which needs special authority (*IOSYSCFG) and can terminate the whole JVM when it is missing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DirContextUtils

        private DirContextUtils()
    • Method Detail

      • isIbmI

        static boolean isIbmI​(java.lang.String osName)
        On IBM i the JNDI lookup ends up in LoadDnsConfig, which needs special authority (*IOSYSCFG) and can terminate the whole JVM when it is missing. See #17396.
      • addNameServers

        static void addNameServers​(java.util.List<java.net.InetSocketAddress> defaultNameServers,
                                   int defaultPort)