public static final class UserManager.JSONUserModule extends java.lang.Object implements RPCCallable, java.io.Serializable
Even though this gets serialized whenever container shuts down/restarts, this gets reinstalled to the session when JSPWiki starts. This means that it's not actually necessary to save anything.
Constructor and Description |
---|
JSONUserModule(UserManager mgr)
Create a new JSONUserModule.
|
Modifier and Type | Method and Description |
---|---|
UserProfile |
getUserInfo(java.lang.String uid)
Directly returns the UserProfile object attached to an uid.
|
public JSONUserModule(UserManager mgr)
mgr
- Managerpublic UserProfile getUserInfo(java.lang.String uid) throws NoSuchPrincipalException
uid
- The user id (e.g. WikiName)NoSuchPrincipalException
- If such a name does not exist.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.