Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

KeyTab File Authentication

Updated on 2022-11-18 GMT+08:00

The KeyTab file authentication requires the jaas-zk.conf, krb5.conf, and user.keytab files.

For details about how to obtain the krb5.conf and user.keytab files, see Security Authentication.

In the jaas-zk.conf file, principal is the username added for authentication in section Security Authentication@domain name. The domain name is the value of the default_realm field in the krb5.conf file (For example, HADOOP.COM). keyTab is the path of the user.keytab file.

    Client {
    com.sun.security.auth.module.Krb5LoginModule required
    useKeyTab=true
    keyTab="/opt/client/user.keytab"
    principal="hivetest@System domain name"
    useTicketCache=false
    storeKey=true
    debug=true;
    };
NOTE:

Change the value of keyTab in the jaas-zk.conf file based on the site requirements.

For example:

  • Windows Path: "D:\\hetu-examples\\hetu-examples-security\\src\\main\\resources\\user.keytab".
  • Linux Path: "/opt/client/user.keytab".
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback