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.typeparameter ingerrit.config. -
useContributorAgreements
Whether contributor agreements are required.The value of the
auth.contributorAgreementsparameter 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.loginUrlparameter ingerrit.config.Only set if authentication type is
HTTPorHTTP_LDAP. -
loginText
The login text.The value of the
auth.loginTextparameter ingerrit.config.Only set if authentication type is
HTTPorHTTP_LDAP. -
switchAccountUrl
The URL to switch accounts.The value of the
auth.switchAccountUrlparameter ingerrit.config. -
registerUrl
The register URL.The value of the
auth.registerUrlparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorCUSTOM_EXTENSION. -
registerText
The register text.The value of the
auth.registerTextparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorCUSTOM_EXTENSION. -
editFullNameUrl
The URL to edit the full name.The value of the
auth.editFullNameUrlparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorCUSTOM_EXTENSION. -
httpPasswordUrl
The URL to obtain an HTTP password.The value of the
auth.httpPasswordUrlparameter 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.gitBasicAuthPolicyparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorOAUTH.
-
-
Constructor Details
-
AuthInfo
public AuthInfo()
-