Interface LoginConfigurationEx
-
- All Superinterfaces:
LoginConfiguration
,LoginConfigurationUpdate
,XmlExternalizable
- All Known Implementing Classes:
LoginConfigurationImpl
,SecuredLoginConfiguration
public interface LoginConfigurationEx extends LoginConfiguration, LoginConfigurationUpdate
- Since:
- 8.0
- Author:
- Maxim.Manuylov Date: 27.11.12
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverSide.auth.LoginConfiguration
DEFAULT_GUEST_USERNAME
-
-
Method Summary
-
Methods inherited from interface jetbrains.buildServer.serverSide.auth.LoginConfiguration
createJAASConfiguration, createJAASConfiguration, findAuthModuleTypeByName, getAuthType, getConfiguredAuthModules, getConfiguredLoginModules, getGuestUsername, getRegisteredAuthModuleTypes, getRegisteredLoginModules, getSelectedLoginModuleDescriptor, getTextForLoginPage, isAtLeastOneAuthModuleConfigured, isAuthModuleConfigured, isDefaultLoginConfigured, isFreeRegistrationAllowed, isGuestLoginAllowed, isOnlyDefaultLoginConfigured, isRootLoginAllowed, isUsersCanChangeOwnPasswords, registerAuthModuleType, registerLoginModule
-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.auth.LoginConfigurationUpdate
addAuthModule, addDefaultLoginModule, clearConfiguredAuthModules, performBatchChange, readExternal, setBuildAuthenticationMode, setFreeRegistrationAllowed, setGuestLoginAllowed, setGuestUsername, setLoginFormCollapsed, setRootLoginAllowed, setSelectedLoginModule, setTextForLoginPage, setTwoFactorAuthType, setTwoFactorSetupDeadline
-
Methods inherited from interface jetbrains.buildServer.XmlExternalizable
writeTo
-
-
-
-
Method Detail
-
addListener
void addListener(@NotNull LoginConfigurationListener listener)
-
removeListener
void removeListener(@NotNull LoginConfigurationListener listener)
-
getDefaultLoginModuleBooleanPropertyValue
boolean getDefaultLoginModuleBooleanPropertyValue(@NotNull String propertyKey)
-
getDefaultLoginModule
@Nullable <T extends AuthModuleType> AuthModule<T> getDefaultLoginModule(@NotNull List<AuthModule<T>> loginModules)
-
unregisterAuthModuleType
void unregisterAuthModuleType(@NotNull AuthModuleType authModuleType)
Unregisters authentication module which was registered byLoginConfiguration.registerAuthModuleType(jetbrains.buildServer.serverSide.auth.AuthModuleType)
- Parameters:
authModuleType
- type of the authentication module- Since:
- 2018.2
-
isLoginFormCollapsed
boolean isLoginFormCollapsed()
- Since:
- 2020.2.3
-
getTwoFactorAuthType
TwoFactorAuthenticationType getTwoFactorAuthType()
Returns currentTwoFactorAuthenticationType
- Returns:
- two-factor authentication type
-
getTwoFactorSetupDeadline
@Nullable Date getTwoFactorSetupDeadline()
Returns deadline for setup of two-factor authentication. Applicable in mandatory mode only. After the deadline, users without grace period would not be able to log in.- Returns:
- global deadline for setup of 2FA
-
getTwoFactorGracePeriod
long getTwoFactorGracePeriod()
Returns duration of grace period for two-factor authentication. This duration is used for grace period refreshes, both for single user and for all server users- Returns:
- grace period duration, in milliseconds
-
getBuildAuthenticationMode
@NotNull BuildAuthenticationMode getBuildAuthenticationMode()
Detemines which mode should be used for build authentication.- Since:
- 2024.12
-
-