Class AuthAdminBean
- java.lang.Object
-
- jetbrains.buildServer.controllers.RememberState
-
- jetbrains.buildServer.controllers.admin.AuthAdminBean
-
- All Implemented Interfaces:
StatefulObject
public class AuthAdminBean extends RememberState
- Since:
- 8.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description AuthAdminBean(LoginConfigurationEx loginConfiguration, ServerSettings serverSettings)
-
Method Summary
-
Methods inherited from class jetbrains.buildServer.controllers.RememberState
findField, forgetState, getField, getRememberedState, isFieldModified, isStateModified, normalizeLineFeeds, rememberState
-
-
-
-
Constructor Detail
-
AuthAdminBean
public AuthAdminBean(@NotNull LoginConfigurationEx loginConfiguration, @NotNull ServerSettings serverSettings)
-
-
Method Detail
-
initAndRemember
public void initAndRemember()
-
getLoginModules
@NotNull public List<AuthModule<AuthModuleType>> getLoginModules()
-
getHttpSchemes
@NotNull public List<AuthModule<AuthModuleType>> getHttpSchemes()
-
getAllModules
@NotNull public List<AuthModule<AuthModuleType>> getAllModules()
-
getAvailableAuthModules
@NotNull public Map<String,List<AuthModuleType>> getAvailableAuthModules()
-
findModule
@Nullable public AuthModule<AuthModuleType> findModule(int authModuleId)
-
updateAuthModuleProperties
public void updateAuthModuleProperties(int authModuleId, @NotNull Map<String,String> newProperties)
-
addModule
public void addModule(@NotNull AuthModuleType type, @NotNull Map<String,String> properties)
-
removeModule
public void removeModule(int authModuleId)
-
clearAllModules
public void clearAllModules()
-
computeCurrentUserAuthModuleAvailability
public void computeCurrentUserAuthModuleAvailability(@NotNull javax.servlet.http.HttpServletRequest request)
-
getCurrentModuleIfNotAvailable
@Nullable public AuthModule<? extends AuthModuleType> getCurrentModuleIfNotAvailable()
-
getValidationErrors
@NotNull public Collection<String> getValidationErrors()
-
isGuestLoginAllowed
public boolean isGuestLoginAllowed()
-
setGuestLoginAllowed
public void setGuestLoginAllowed(boolean guestLoginAllowed)
-
getGuestUsername
public String getGuestUsername()
-
setGuestUsername
public void setGuestUsername(String guestUsername)
-
getGuestUserId
public int getGuestUserId()
-
isPerProjectPermissions
public boolean isPerProjectPermissions()
-
setPerProjectPermissions
public void setPerProjectPermissions(boolean perProjectPermissions)
-
isEmailVerificationEnabled
public boolean isEmailVerificationEnabled()
-
setEmailVerificationEnabled
public void setEmailVerificationEnabled(boolean emailVerificationEnabled)
-
getTextForLoginPage
public String getTextForLoginPage()
-
setTextForLoginPage
public void setTextForLoginPage(String textForLoginPage)
-
isLoginFormCollapsed
public boolean isLoginFormCollapsed()
-
setLoginFormCollapsed
public void setLoginFormCollapsed(boolean collapsed)
-
isResetAllTokensAvailable
public boolean isResetAllTokensAvailable()
-
getTwoFactorAuthenticationType
public TwoFactorAuthenticationType getTwoFactorAuthenticationType()
-
getAvailableTwoFactorAuthenticationTypes
@NotNull public TwoFactorAuthenticationType[] getAvailableTwoFactorAuthenticationTypes()
-
setTwoFactorAuthenticationType
public void setTwoFactorAuthenticationType(TwoFactorAuthenticationType twoFactorAuthenticationType)
-
isStrictBuildAuthenticationEnabled
public boolean isStrictBuildAuthenticationEnabled()
-
setStrictBuildAuthenticationEnabled
public void setStrictBuildAuthenticationEnabled(boolean strictBuildAuthenticationEnabled)
-
normalize
public void normalize()
-
-