Class AuthInfo
This class determines the JSON format of auth-related server configuration in the REST API.
The contained values come from the auth
section of gerrit.config
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe authentication type that is configured on the server.List of contributor agreements that have been configured on the server.List of account fields that are editable.The URL to edit the full name.The policy to authenticate Git over HTTP and REST API requests.The URL to obtain an HTTP password.The login text.The login URL.The register text.The register URL.The URL to switch accounts.Whether contributor agreements are required. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
authType
The authentication type that is configured on the server.The value of the
auth.type
parameter ingerrit.config
. -
useContributorAgreements
Whether contributor agreements are required.The value of the
auth.contributorAgreements
parameter ingerrit.config
. -
contributorAgreements
List of contributor agreements that have been configured on the server. -
editableAccountFields
List of account fields that are editable. -
loginUrl
The login URL.The value of the
auth.loginUrl
parameter ingerrit.config
.Only set if authentication type is
HTTP
orHTTP_LDAP
. -
loginText
The login text.The value of the
auth.loginText
parameter ingerrit.config
.Only set if authentication type is
HTTP
orHTTP_LDAP
. -
switchAccountUrl
The URL to switch accounts.The value of the
auth.switchAccountUrl
parameter ingerrit.config
. -
registerUrl
The register URL.The value of the
auth.registerUrl
parameter ingerrit.config
.Only set if authentication type is
LDAP
,LDAP_BIND
orCUSTOM_EXTENSION
. -
registerText
The register text.The value of the
auth.registerText
parameter ingerrit.config
.Only set if authentication type is
LDAP
,LDAP_BIND
orCUSTOM_EXTENSION
. -
editFullNameUrl
The URL to edit the full name.The value of the
auth.editFullNameUrl
parameter ingerrit.config
.Only set if authentication type is
LDAP
,LDAP_BIND
orCUSTOM_EXTENSION
. -
httpPasswordUrl
The URL to obtain an HTTP password.The value of the
auth.httpPasswordUrl
parameter ingerrit.config
.Only set if authentication type is
CUSTOM_EXTENSION
. -
gitBasicAuthPolicy
The policy to authenticate Git over HTTP and REST API requests.The value of the
auth.gitBasicAuthPolicy
parameter ingerrit.config
.Only set if authentication type is
LDAP
,LDAP_BIND
orOAUTH
.
-
-
Constructor Details
-
AuthInfo
public AuthInfo()
-