code: private TimedDirContext createDirContext(Hashtable<String, Object> env) throws NamingException {
          return createDirContext(env, roundToSeconds(System.currentTimeMillis()));
      }
docs: Create a directory context.
  
  @param env The JNDI environment to create the context with.
  @return The {@link TimedDirContext}.
  @throws NamingException If there was an issue binding to the LDAP server.