Package com.google.gerrit.server.config
Class AuthConfig
- java.lang.Object
-
- com.google.gerrit.server.config.AuthConfig
-
public class AuthConfig extends Object
Authentication related settings fromgerrit.config
.
-
-
Method Summary
-
-
-
Method Detail
-
getAuthType
public AuthType getAuthType()
Type of user authentication used by this Gerrit server.
-
getLoginHttpHeader
public String getLoginHttpHeader()
-
getHttpDisplaynameHeader
public String getHttpDisplaynameHeader()
-
getHttpEmailHeader
public String getHttpEmailHeader()
-
getHttpExternalIdHeader
public String getHttpExternalIdHeader()
-
getLoginUrl
public String getLoginUrl()
-
getLoginText
public String getLoginText()
-
getLogoutURL
public String getLogoutURL()
-
getSwitchAccountUrl
public String getSwitchAccountUrl()
-
getEditFullNameUrl
public String getEditFullNameUrl()
-
getHttpPasswordUrl
public String getHttpPasswordUrl()
-
getOpenIdSsoUrl
public String getOpenIdSsoUrl()
-
getCookiePath
public String getCookiePath()
-
getCookieDomain
public String getCookieDomain()
-
getCookieSecure
public boolean getCookieSecure()
-
getEmailRegistrationToken
public SignedToken getEmailRegistrationToken()
-
getAllowedOpenIDs
public List<OpenIdProviderPattern> getAllowedOpenIDs()
OpenID identities which the server permits for authentication.
-
isTrustContainerAuth
public boolean isTrustContainerAuth()
Whether git-over-http should trust authentication done by container.
-
isRunAsEnabled
public boolean isRunAsEnabled()
Returns true if users with Run As capability can impersonate others.
-
isUserNameToLowerCase
public boolean isUserNameToLowerCase()
Whether user name should be converted to lower-case before validation
-
isUserNameCaseInsensitive
public boolean isUserNameCaseInsensitive()
Whether user name should be matched case insenitive
-
isUserNameCaseInsensitiveMigrationMode
public boolean isUserNameCaseInsensitiveMigrationMode()
Whether user name case insensitive migration is in progress
-
getGitBasicAuthPolicy
public GitBasicAuthPolicy getGitBasicAuthPolicy()
-
isUseContributorAgreements
public boolean isUseContributorAgreements()
Whether contributor agreements are used.
-
isIdentityTrustable
public boolean isIdentityTrustable(Collection<ExternalId> ids)
-
getRegisterPageUrl
public String getRegisterPageUrl()
-
getRegisterUrl
public String getRegisterUrl()
-
getRegisterText
public String getRegisterText()
-
isLdapAuthType
public boolean isLdapAuthType()
-
isOAuthType
public boolean isOAuthType()
-
isAllowRegisterNewEmail
public boolean isAllowRegisterNewEmail()
-
-