Modul org.freedesktop.dbus
Klasse SaslConfigBuilder<R>
java.lang.Object
org.freedesktop.dbus.connections.config.SaslConfigBuilder<R>
Configuration used to setup a sasl authentication.
- Seit:
- v4.2.2 - 2023-02-03
- Autor:
- hypfvieh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungback()
Return to the previous builder.build()
Returns the created configuration.Setup the authentication mode to use.withSaslUid
(Long _saslUid) Setup the user ID to use for authentication when using unix sockets.
Will default to the user ID of the user running the current process.withStrictCookiePermissions
(boolean _strictCookiePermissions) Enable/disable checking of file permissions of the cookie files (used for DBUS_COOKIE_SHA1).
Cookie permission check will only be used on Linux/Unix like OSes.
Default is false (no strict checking).
-
Methodendetails
-
back
Return to the previous builder.This allows you to return from the this builder to the builder which started this builder so you can continue using the previous builder.
- Gibt zurück:
- previous builder, maybe null
-
withAuthMode
Setup the authentication mode to use.
null
values will be ignored.- Parameter:
_types
- auth mode to set- Gibt zurück:
- this
-
withSaslUid
Setup the user ID to use for authentication when using unix sockets.
Will default to the user ID of the user running the current process.- Parameter:
_saslUid
- uid to use- Gibt zurück:
- this
-
withStrictCookiePermissions
Enable/disable checking of file permissions of the cookie files (used for DBUS_COOKIE_SHA1).
Cookie permission check will only be used on Linux/Unix like OSes.
Default is false (no strict checking).- Parameter:
_strictCookiePermissions
- boolean- Gibt zurück:
- this
-
build
Returns the created configuration.- Gibt zurück:
- SaslConfig
-