org.freedesktop.dbus
public static class Transport.SASL extends Object
Nested Class Summary | |
---|---|
static class | Transport.SASL.Command |
Field Summary | |
---|---|
static int | AUTHENTICATED |
static int | AUTH_EXTERNAL |
static int | AUTH_NONE |
static int | AUTH_SHA |
String | challenge |
String | cookie |
static int | COMMAND_AUTH |
static int | COMMAND_BEGIN |
static int | COMMAND_CANCEL |
static int | COMMAND_DATA |
static int | COMMAND_ERROR |
static int | COMMAND_OK |
static int | COMMAND_REJECTED |
static int | CONTINUE |
static String | COOKIE_CONTEXT |
static int | COOKIE_TIMEOUT |
static int | ERROR |
static int | FAILED |
static int | INITIAL_STATE |
static int | LOCK_TIMEOUT |
static int | MODE_CLIENT |
static int | MODE_SERVER |
static int | OK |
static int | REJECT |
static int | WAIT_AUTH |
static int | WAIT_BEGIN |
static int | WAIT_DATA |
static int | WAIT_OK |
static int | WAIT_REJECT |
Method Summary | |
---|---|
boolean | auth(int mode, int types, String guid, OutputStream out, InputStream in)
performs SASL auth on the given streams.
|
int | do_challenge(int auth, Transport.SASL.Command c) |
int | do_response(int auth, String Uid, Transport.SASL.Command c) |
String[] | getTypes(int types) |
Transport.SASL.Command | receive(InputStream s) |
void | send(OutputStream out, int command, String... data) |