public static class GerritAuthData.Basic extends Object implements GerritAuthData
GerritAuthData.Basic| Constructor and Description |
|---|
Basic(String host) |
Basic(String host,
String login,
String password) |
Basic(String host,
String login,
String password,
boolean httpPassword) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
HTTP URL for accessing Gerrit.
|
String |
getLogin()
Username used for login.
|
String |
getPassword()
Password used for login.
|
boolean |
isHttpPassword()
Returns TRUE if the password value is an HTTP password corresponding to
the password token displayed on the user Settings -> HTTP Password page.
|
boolean |
isLoginAndPasswordAvailable() |
public Basic(String host)
host - see GerritAuthData.getHost().public Basic(String host, String login, String password)
host - see GerritAuthData.getPassword().login - see GerritAuthData.getLogin().password - see GerritAuthData.getLogin().public Basic(String host, String login, String password, boolean httpPassword)
host - see GerritAuthData.getPassword().login - see GerritAuthData.getLogin().password - see GerritAuthData.getLogin().httpPassword - see GerritAuthData@isHttpPassword.public boolean isHttpPassword()
GerritAuthDataisHttpPassword in interface GerritAuthDatapublic String getLogin()
GerritAuthDatagetLogin in interface GerritAuthDatapublic String getPassword()
GerritAuthDatagetPassword in interface GerritAuthDatapublic String getHost()
GerritAuthData"https://gerrit-review.googlesource.com"getHost in interface GerritAuthDatapublic boolean isLoginAndPasswordAvailable()
isLoginAndPasswordAvailable in interface GerritAuthDataCopyright © 2018. All rights reserved.