public class WebCloudNameLookup extends java.lang.Object implements NameLookup
USER_NAME
Constructor and Description |
---|
WebCloudNameLookup() |
Modifier and Type | Method and Description |
---|---|
void |
checkResolveHost() |
static void |
clearSavedSessionInformation() |
java.lang.String |
getHost() |
java.lang.Long |
getSessionId() |
java.lang.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 java.io.IOException
NameLookup
signIn
in interface NameLookup
plugin
- TODOjava.io.IOException
public void loadProperties(CloudPlugin plugin)
public boolean softSignin() throws java.io.IOException
java.io.IOException
public void checkResolveHost() throws java.net.UnknownHostException
java.net.UnknownHostException
public static void setSaveSessionInformation(boolean save)
public static boolean isSavingSessionInfoEnabled()
public static void clearSavedSessionInformation()
public static void saveSessionInformation(long sessionId)
public java.lang.Long getSessionId()
public java.lang.String getUsername()
NameLookup
getUsername
in interface NameLookup
public java.lang.String getHost()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.