public LoginContext createLoginContext(String krb5ModuleEntryName, CallbackHandler callbackHandler)
      throws LoginException {
    return new LoginContext(krb5ModuleEntryName, callbackHandler);
  }
Create a new {@link LoginContext}

@param krb5ModuleEntryName the relevant com.sun.security.auth.module.Krb5LoginModule entry name
@param callbackHandler     a callback handler
@return a new {@link LoginContext}
@throws LoginException see {@link LoginContext#LoginContext(String, CallbackHandler)}
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/LoginContextHelper.java