public class UserEnv extends Object
Constructor and Description |
---|
UserEnv() |
Modifier and Type | Method and Description |
---|---|
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.
|
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