|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.ip.me.api.user.UserManager
Manages all user relevant data and handles login / logout.
| Constructor Summary | |
UserManager()
|
|
| Method Summary | |
abstract User |
getCurrentUser()
Gets the current user working on the Mobile Infrastructure device. |
static UserManager |
getInstance()
Gets the singleton instance of a UserManager. |
abstract void |
logOnUser(java.lang.String userName,
java.lang.String password)
Logs on a user to the Mobile Engine. |
abstract void |
logOutCurrentUser()
Logs out the current user. |
static void |
setInstance(UserManager um)
Sets the singleton instance of a UserManager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UserManager()
| Method Detail |
public static void setInstance(UserManager um)
um - The new instance valuepublic static UserManager getInstance()
public abstract User getCurrentUser()
public abstract void logOnUser(java.lang.String userName,
java.lang.String password)
throws LogonException
userName - The username of the new user.password - The password for the given user.
LogonException - Will be thrown if user name is invalid, password
is invalid, password does not match to the user, user is unknownpublic abstract void logOutCurrentUser()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||