|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.webclient.UserEnv
public class UserEnv
The user environemnt is kept in the user's session at all times. It contains many of Faban's necessary states.
Constructor Summary | |
---|---|
UserEnv()
|
Method Summary | |
---|---|
Authenticator |
getAuthenticator()
Obtains the authenticator used for user authentication. |
String[] |
getProfiles()
Obtains a list of current profiles set up on this Faban harness instance. |
Subject |
getSubject()
Obtains the subject of the current user. |
String |
getUser()
Obtains the login name or id of the current user. |
void |
saveParamRepository(String profile,
BenchmarkDescription desc,
char[] buf)
Saves the config file to the given profile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserEnv()
Method Detail |
---|
public Authenticator getAuthenticator()
public String getUser()
public Subject getSubject()
public String[] getProfiles()
public void saveParamRepository(String profile, BenchmarkDescription desc, char[] buf)
profile
- The profile to save todesc
- The benchmark descriptionbuf
- The buffer containing the run config file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |