public interface Service
| Modifier and Type | Method and Description |
|---|---|
Boolean |
create(String user,
String password)
Create user.
|
void |
disable(String user)
Disable user.
|
void |
enable(String user)
Enable user.
|
Boolean |
found(String user)
Test user exist.
|
Boolean |
reset(String user,
String password)
Reset the password.
|
Boolean |
update(String user,
String currentPassword,
String newPassword)
Update user password.
|
Boolean update(@NotNull String user, @NotNull String currentPassword, @NotNull String newPassword)
user - user to be password updatecurrentPassword - current passwordnewPassword - new passwordBoolean reset(@NotNull String user, @NotNull String password)
user - login to reset passwordpassword - string desired to passwordBoolean create(@NotNull String user, @NotNull String password) throws InvalidUserException
user - login to createpassword - string desired to passwordInvalidUserExceptionvoid disable(@NotNull
String user)
user - login to disablevoid enable(@NotNull
String user)
user - login to enableCopyright © 2017. All rights reserved.