public interface UserManagement
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String user,
String server,
String password)
Corresponds to ejabberd `auth` operation.
|
boolean |
exists(String user,
String server)
Corresponds to ejabberd `isuser` operation.
|
boolean |
register(String user,
String server,
String password)
Corresponds to `tryregister` operation.
|
boolean |
remove(String user,
String server)
Corresponds to `removeuser` operation.
|
boolean |
removeSafely(String user,
String server,
String password)
Corresponds to `removeuser3` operation.
|
boolean |
setPassword(String user,
String server,
String password)
Corresponds to ejabberd `setpass` operation.
|
boolean authenticate(String user, String server, String password)
user - Username of the user. Examples: test, testuser, kristianserver - Server on which the user eixsts. Example: chat.teletronics.ae, chat.github.compassword - Password for the user.boolean exists(String user, String server)
user - Username of the user. Examples: test, testuser, kristianserver - Server on which the user eixsts. Example: chat.teletronics.ae, chat.github.comboolean setPassword(String user, String server, String password)
user - Username of the user. Examples: test, testuser, kristianserver - Server on which the user eixsts. Example: chat.teletronics.ae, chat.github.compassword - Password for the user.boolean register(String user, String server, String password)
user - Username of the user. Examples: test, testuser, kristianserver - Server on which the user eixsts. Example: chat.teletronics.ae, chat.github.compassword - Password for the user.boolean remove(String user, String server)
user - Username of the user. Examples: test, testuser, kristianserver - Server on which the user eixsts. Example: chat.teletronics.ae, chat.github.comboolean removeSafely(String user, String server, String password)
user - Username of the user. Examples: test, testuser, kristianserver - Server on which the user eixsts. Example: chat.teletronics.ae, chat.github.compassword - Password for the user.Copyright © 2016 teletronics.ae. All rights reserved.