simdb.remote.core.auth package¶
- class simdb.remote.core.auth.ActiveDirectoryAuthenticator[source]¶
Bases:
AuthenticatorAuthenticator for authenticating using an LDAP server.
This requires the following extra parameters in the server configuration: ad_server - the server URI ad_domain - the AD domain ad_cert - path to the root ca certificate
- class simdb.remote.core.auth.KeyCloakAuthenticator[source]¶
Bases:
Authenticator-
TOKEN_HEADER_NAME =
'KeyCloak-Token'¶
-
TOKEN_HEADER_NAME =
- class simdb.remote.core.auth.LdapAuthenticator[source]¶
Bases:
AuthenticatorAuthenticator for authenticating using an LDAP server.
This requires the following extra parameters in the server configuration:
ldap_server- the URI of the LDAP serverldap_bind- the bind string for the LDAP authentication (formatted to replace {username} with username)ldap_query_user- the bind string for the LDAP queryldap_query_password- the password for the LDAP queryldap_query_base- the base point for the LDAP queryldap_query_filter- the filter to apply to the LDAP query (formatted to replace {username} with username)
- class simdb.remote.core.auth.NoopAuthenticator[source]¶
Bases:
AuthenticatorNo-op authenticator which accepts any user as authenticated.
- class simdb.remote.core.auth.User(name, email)¶
Bases:
tuple- email¶
Alias for field number 1
- name¶
Alias for field number 0