java.lang.Object
org.freedesktop.dbus.connections.SASL
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic enumstatic enumstatic enum -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final int -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanauth(SocketChannel _sock, AbstractTransport _transport) Performs SASL auth on the given socketchannel.String[]convertAuthTypes(int _types) booleanreceive(SocketChannel _sock) voidsend(SocketChannel _sock, SASL.SaslCommand _command, String... _data)
-
Felddetails
-
AUTH_NONE
public static final int AUTH_NONE- Siehe auch:
-
AUTH_EXTERNAL
public static final int AUTH_EXTERNAL- Siehe auch:
-
AUTH_SHA
public static final int AUTH_SHA- Siehe auch:
-
AUTH_ANON
public static final int AUTH_ANON- Siehe auch:
-
LOCK_TIMEOUT
public static final int LOCK_TIMEOUT- Siehe auch:
-
NEW_KEY_TIMEOUT_SECONDS
public static final int NEW_KEY_TIMEOUT_SECONDS- Siehe auch:
-
EXPIRE_KEYS_TIMEOUT_SECONDS
public static final int EXPIRE_KEYS_TIMEOUT_SECONDS- Siehe auch:
-
MAX_TIME_TRAVEL_SECONDS
public static final int MAX_TIME_TRAVEL_SECONDS- Siehe auch:
-
COOKIE_TIMEOUT
public static final int COOKIE_TIMEOUT- Siehe auch:
-
COOKIE_CONTEXT
- Siehe auch:
-
-
Konstruktordetails
-
SASL
Create a new SASL auth handler.- Parameter:
_saslConfig- SASL configuration
-
-
Methodendetails
-
receive
- Löst aus:
IOException
-
send
public void send(SocketChannel _sock, SASL.SaslCommand _command, String... _data) throws IOException - Löst aus:
IOException
-
convertAuthTypes
-
auth
Performs SASL auth on the given socketchannel. Mode selects whether to run as a SASL server or client. Types is a bitmask of the available auth types.- Parameter:
_sock- socket channel_transport- transport- Gibt zurück:
- true if the auth was successful and false if it failed.
- Löst aus:
IOException- on failure
-
isFileDescriptorSupported
public boolean isFileDescriptorSupported()
-