|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trackstudio.app.adapter.auth.SimpleAuthAdapter
public class SimpleAuthAdapter
Класс обычной авторизации
| Constructor Summary | |
|---|---|
SimpleAuthAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
authorizeImpl(java.lang.String userId,
java.lang.String password,
boolean result)
Производит авторизацию |
void |
changePasswordImpl(java.lang.String userId,
java.lang.String password)
Меняет пароль пользователя. |
java.lang.String |
getDescription()
Возвращает текстовое описание адаптера |
boolean |
init()
Инициализирует адаптер |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleAuthAdapter()
| Method Detail |
|---|
public boolean init()
init in interface Adapterpublic java.lang.String getDescription()
getDescription in interface Adapter
public boolean authorizeImpl(java.lang.String userId,
java.lang.String password,
boolean result)
throws GranException
authorizeImpl in interface AuthAdapteruserId - ID пользователяpassword - парольresult - Результат авторизации
GranException - при необходимости
public void changePasswordImpl(java.lang.String userId,
java.lang.String password)
throws GranException
changePasswordImpl in interface AuthAdapteruserId - ID пользователяpassword - пароль
GranException - при необходимости
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||