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

@param krb5ModuleEntryName the relevant com.sun.security.auth.module.Krb5LoginModule entry name
@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