5.2.4. xgt.KerberosAuth¶
- class xgt.KerberosAuth(principal='')¶
Kerberos-based single-sign on authentication.
- Parameters:
principal (str) – Value to use for the Kerberos principal name of the xGT service to connect to. Only needed when the Kerberos principal cannot be derived from the host name. The default is an empy string.
Methods
__init__
([principal])Constructor for KerberosAuth.
Attributes
Obtains the Kerberos principal.
- __init__(principal='')¶
Constructor for KerberosAuth. Called when KerberosAuth is created.
- property principal¶
Obtains the Kerberos principal.
- Returns:
Kerberos principal.
- Return type:
str