public interface AuthApi
extends net.anotheria.anoplass.api.API, net.anotheria.anoprise.metafactory.Service
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
encryptUserCredentials(UserAO user)
Encrypts user data bean using blowfish algorithm.
|
boolean |
userExists(java.lang.String encryptedUserData)
Check, does user with username and password from encrypted data
is noted in moskito webui configuration.
|
boolean |
userExists(UserAO user)
Check, does user with username and password from user object in method parameter
is noted in moskito webui configuration.
|
java.lang.String encryptUserCredentials(UserAO user) throws net.anotheria.anoplass.api.APIException
user - user authorization datanet.anotheria.anoplass.api.APIException - on encryption failboolean userExists(java.lang.String encryptedUserData)
throws net.anotheria.anoplass.api.APIException
encryptedUserData - user data encrypted by encryptUserCredentials(UserAO) methodnet.anotheria.anoplass.api.APIExceptionboolean userExists(UserAO user)
user - user dataCopyright © 2010-2020 anotheria.net. All Rights Reserved.