public class WebCloudNameLookup extends Object implements NameLookup
USER_NAME
Constructor and Description |
---|
WebCloudNameLookup() |
Modifier and Type | Method and Description |
---|---|
void |
checkResolveHost() |
static void |
clearSavedSessionInformation() |
String |
getHost() |
Long |
getSessionId() |
String |
getUsername()
Return name that should be used as the user identity
|
static boolean |
isSavingSessionInfoEnabled() |
void |
loadProperties(CloudPlugin plugin) |
static void |
saveSessionInformation(long sessionId) |
static void |
setSaveSessionInformation(boolean save) |
boolean |
signIn(CloudPlugin plugin,
BugCollection bugCollection)
tries to obtain a user name.
|
boolean |
softSignin()
If the user can be authenticated due to an existing session id, do so
|
public boolean signIn(CloudPlugin plugin, BugCollection bugCollection) throws IOException
NameLookup
signIn
in interface NameLookup
plugin
- TODOIOException
public void loadProperties(CloudPlugin plugin)
public boolean softSignin() throws IOException
IOException
public void checkResolveHost() throws UnknownHostException
UnknownHostException
public static void setSaveSessionInformation(boolean save)
public static boolean isSavingSessionInfoEnabled()
public static void clearSavedSessionInformation()
public static void saveSessionInformation(long sessionId)
public Long getSessionId()
public String getUsername()
NameLookup
getUsername
in interface NameLookup
public String getHost()
Copyright © 2003–2015. All rights reserved.