|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jhomenet.server.auth.AuthManager
public class AuthManager
This class is responsible for managing the application authentication.
Id: $Id: $
Nested Class Summary | |
---|---|
static class |
AuthManager.UserStatus
A class that encompasses the user status. |
Constructor Summary | |
---|---|
AuthManager(AbstractEventLogger eventLogger)
Constructor. |
Method Summary | |
---|---|
AuthManager.UserStatus |
authenticate(java.lang.String username,
char[] password,
java.lang.String server)
|
void |
checkAdminUser()
Check the admin user. |
static AuthFacade |
getAuthFacade()
|
java.util.List<AuthManager.UserStatus> |
getCurrentlyLoggedInUsers()
Get the list of currently logged in users. |
CustomLoginService |
getLoginService()
|
void |
logout(User user)
Log a user out from the system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthManager(AbstractEventLogger eventLogger)
eventLogger
- Method Detail |
---|
public final CustomLoginService getLoginService()
public static final AuthFacade getAuthFacade()
public final void checkAdminUser() throws java.lang.Exception
java.lang.Exception
public final AuthManager.UserStatus authenticate(java.lang.String username, char[] password, java.lang.String server)
username
- password
- server
-
public final java.util.List<AuthManager.UserStatus> getCurrentlyLoggedInUsers()
public void logout(User user)
user
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |