|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.pleso.auth.client.AuthController
public class AuthController
Controller of AuthenticationException. Call RPC server side for user authentication.
Results return to IAuthResultListener
implementation.
Contains HashMap
of authenticated objects (to which user has access).
Field Summary | |
---|---|
static AuthController |
instance
Single AuthController instance. |
Method Summary | |
---|---|
IAuthResultListener |
getResultListener()
Gets IAuthResultListener implementation. |
void |
getUserInfo()
Gets authenticated user information. |
void |
isAuth()
Check is user authenticated. |
boolean |
isAuthClassesDictionaryContains(java.lang.String className)
Return is HashMap of authenticated objects contains this className. |
void |
loginUser(UserInfo user)
Login user with login and password information. |
void |
logout()
Logout user. |
void |
setResultListener(IAuthResultListener resultListener)
Sets IAuthResultListener implementation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static AuthController instance
Method Detail |
---|
public void loginUser(UserInfo user)
user
- - user login and password informationpublic void logout()
public void isAuth()
public void getUserInfo()
public IAuthResultListener getResultListener()
IAuthResultListener
implementation.
IAuthResultListener
implementationpublic void setResultListener(IAuthResultListener resultListener)
IAuthResultListener
implementation.
resultListener
- IAuthResultListener
implementationpublic boolean isAuthClassesDictionaryContains(java.lang.String className)
HashMap
of authenticated objects contains this className.
className
- class name to check
HashMap
of authenticated objects contains this className.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |