| Constructor and Description |
|---|
AuthApiImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deInit() |
java.lang.String |
encryptUserCredentials(UserAO user)
Encrypts user data bean using blowfish algorithm.
|
void |
init() |
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.
|
public java.lang.String encryptUserCredentials(UserAO user) throws net.anotheria.anoplass.api.APIException
AuthApiencryptUserCredentials in interface AuthApiuser - user authorization datanet.anotheria.anoplass.api.APIException - on encryption failpublic boolean userExists(java.lang.String encryptedUserData)
throws net.anotheria.anoplass.api.APIException
AuthApiuserExists in interface AuthApiencryptedUserData - user data encrypted by encryptUserCredentials(UserAO) methodnet.anotheria.anoplass.api.APIExceptionpublic boolean userExists(UserAO user)
AuthApiuserExists in interface AuthApiuser - user datapublic void init()
throws net.anotheria.anoplass.api.APIInitException
init in interface net.anotheria.anoplass.api.APInet.anotheria.anoplass.api.APIInitExceptionpublic void deInit()
deInit in interface net.anotheria.anoplass.api.APICopyright © 2010-2020 anotheria.net. All Rights Reserved.