Class ProcessAuthenticationSettings

    • Constructor Detail

      • ProcessAuthenticationSettings

        public ProcessAuthenticationSettings()
        Creates a new settings object with defaults. By default, no Kerberos settings are provided.
    • Method Detail

      • getKerberosPrincipal

        public String getKerberosPrincipal()
        Gets the configured Kerberos principal name.
        Returns:
        the principal name
      • setKerberosPrincipal

        public void setKerberosPrincipal​(String principal)
        Sets the name of the Kerberos principal to use for the process.
        Parameters:
        principal - the principal name
      • getKerberosKeytab

        public String getKerberosKeytab()
        Gets the configured keytab file for authenticating the Kerberos principal.
        Returns:
        the path to the keytab file
      • setKerberosKeytab

        public void setKerberosKeytab​(String path)
        Sets the keytab file to use to authenticate as the configured Kerberos principal.
        Parameters:
        path - the path to the keytab file