SPNEGO authentication in HUE

You can set up the SPNEGO authentication for the HUE UI, which allows accessing it securely and remotely. This authentication type is compatible with the LDAP authentication.

To set up the SPNEGO authentication, complete the following steps:

  1. Go to the ADCM UI and select the Clusters page.

  2. Click the actions2 Action icon in your cluster entry and select Manage Kerberos.

    Manage Kerberos action
    Manage Kerberos action
  3. In the window that appears, turn on the Existing Active Directory switch.

    Existing Active Directory parameter group switch
    Existing Active Directory parameter group switch
  4. Select the Authentication on WEB UIs parameter and set it to true.

  5. Specify values for the other parameters in this group according to the Configure Kerberos authentication based on Active Directory via ADCM article.

  6. Click Run and wait for the action to complete.

  7. Select your cluster, open the HUE service page, and on the Components tab select the HUE Server component.

    HUE Server component
    HUE Server component
  8. On the Primary configuration tab, open the Authentication on WEB UIs parameter group and set the desktop.kerberos.kerberos_auth parameter to true.

    HUE Server primary configuration
    HUE Server primary configuration
  9. If necessary, specify the desktop.kerberos.spnego_principal parameter. It defines the default Kerberos principal. If it is left empty, then the principal is obtained from the ticket.

  10. Save the configuration by clicking Save → Create and restart the service by clicking Actions → Restart HUE Server.

Before you use the SPNEGO authentication for the HUE UI, make sure that the Kerberos service is installed and set up on your local machine. Also, your browser must be configured to support Kerberos — refer to the SPNEGO authentication article for instructions for Mozilla Firefox and Google Chrome. Run the kinit command before establishing connection.

Found a mistake? Seleсt text and press Ctrl+Enter to report it