public interface SessionManagerFacade
| Modifier and Type | Interface and Description |
|---|---|
static class |
SessionManagerFacade.NewUser |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAdmin()
Checks, if the current user is an admin.
|
void |
registerUser(SessionManagerFacade.NewUser user,
String plainPassword,
boolean asAdmin,
List<rst.domotic.unit.UnitConfigType.UnitConfig> groups) |
void |
verifyMailAddress(String mailAddress) |
void |
verifyPasswords(String password,
String repeatedPassword)
Validates the given password and compares it with the repeated password.
|
void |
verifyPhoneNumber(String phoneNumber) |
void |
verifyUserName(String username)
Checks, if the username is available.
|
boolean isAdmin()
void registerUser(SessionManagerFacade.NewUser user, String plainPassword, boolean asAdmin, List<rst.domotic.unit.UnitConfigType.UnitConfig> groups) throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionvoid verifyUserName(String username) throws org.openbase.jul.exception.VerificationFailedException, InterruptedException
username - the username to checkorg.openbase.jul.exception.VerificationFailedException - is thrown if the username is already in use.InterruptedExceptionvoid verifyPasswords(String password, String repeatedPassword) throws org.openbase.jul.exception.VerificationFailedException
password - the password to validaterepeatedPassword - the repeated passwordorg.openbase.jul.exception.VerificationFailedException - is thrown if the password is not valid or does not matches repeatedPassword.void verifyPhoneNumber(String phoneNumber) throws org.openbase.jul.exception.VerificationFailedException
org.openbase.jul.exception.VerificationFailedExceptionvoid verifyMailAddress(String mailAddress) throws org.openbase.jul.exception.VerificationFailedException
org.openbase.jul.exception.VerificationFailedExceptionCopyright © 2015–2017 openbase.org. All rights reserved.