final class atoti.SecurityConfig
The security config.This feature is not part of the community edition: it needs to be unlocked.
See also:
atoti.Session.security and atoti.tables.Tables.restrictions to continue configuring the security once the session is started.basic_authentication : BasicAuthenticationConfig
Always enabled even ifmain_sso is not None to facilitate the authentication of service/technical users.
See also:
BasicAuthenticationSecurity.client_certificate : ClientCertificateConfig | None = None
cors : CorsConfig | None = None
https : HttpsConfig | None = None
jwt : JwtConfig
login : LoginConfig | None = None
main_sso : KerberosConfig | LdapConfig | OidcConfig | None = None
The config to delegate authentication to a Single Sign-On provider.See also:
xmla_ssoVersionadded
Added in version 0.9.19.same_site : Literal[‘lax’, ‘none’, ‘strict’] = ‘lax’
The value to use for the SameSite attribute of the HTTP cookie sent by the session. See https://web.dev/samesite-cookies-explained for more information."none" requires the session to be served over HTTPS.sso : KerberosConfig | LdapConfig | OidcConfig | None = None
The config to delegate authentication to a Single Sign-On provider.Deprecated
Deprecated since version 0.9.19: Usemain_sso instead:
xmla_sso : KerberosConfig | None = None
The config to secure the/xmla endpoint with a different provider than main_sso.
Excel’s Analysis Services connector only supports Windows (Kerberos) and Basic authentication.
A session whose main_sso is an OidcConfig can therefore not be queried from Excel with the credentials of its identity provider.
Setting this attribute secures /xmla with Kerberos while every other endpoint keeps using main_sso.
Its type must differ from the one of main_sso.
username_case_conversion has no effect when passed here: the conversion is applied session-wide, following the one declared on main_sso.
An OidcConfig declares none, so a session pairing it with this attribute looks usernames up in individual_roles exactly as Kerberos returns them.