You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move SASL configuration out of auth_data into its own dictionary which exposes more SASL features (e.g. server service name, client principal...). Legacy syntax is still supported for backward compatibilty.
Remove SASL from auth_data and place it between 'connection' and 'zookeeper protocol level authentication' to simplify connection logic and bring code in line with the protocol stack (SASL wraps Zookeeper, not the other way around).
Consistent exception, `AuthFailedError`, raised during authentication failure between SASL and ZK authentication.
New 'SASLException' exception raised in case of SASL intrisinc failures.
Add support for GSSAPI (Kerberos).
Example connection using Digest-MD5:
client = KazooClient(
sasl_options={'mechanism': 'DIGEST-MD5',
'username': 'myusername',
'password': 'mypassword'}
)
Example connection using GSSAPI (with some optional settings):
client = KazooClient(
sasl_options={'mechanism': 'GSSAPI',
'service': 'myzk', # optional
'principal': '[email protected]'} # optional
)
0 commit comments