Klasse AccountLockSettings.AccountLockSettingsBuilder

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.AccountLockSettings.AccountLockSettingsBuilder
Umschließende Klasse:
AccountLockSettings

public static class AccountLockSettings.AccountLockSettingsBuilder extends Object
  • Methodendetails

    • appliesToUsers

      public AccountLockSettings.AccountLockSettingsBuilder appliesToUsers(String appliesToUsers)
      List of users to whom the account locking settings apply. Possible values are 'allUsersExceptPredefinedUsers' and 'allUsers'. 'allUsersExceptPredefinedUsers' indicates that account locking rules apply to all user accounts except the predefined user accounts. 'allUsers' indicates the account locking rules apply to all user accounts.
      Gibt zurück:
      this.
    • blockDuration

      public AccountLockSettings.AccountLockSettingsBuilder blockDuration(String blockDuration)
      Duration for which the account remains locked.
      Gibt zurück:
      this.
    • blockDurationUnit

      public AccountLockSettings.AccountLockSettingsBuilder blockDurationUnit(String blockDurationUnit)
      The unit for the duration specified under 'blockDuration' field. Possible values are 'Minutes', 'Hours', 'Days'.
      Gibt zurück:
      this.
    • isEnabled

      Specifies whether to enable the account locking settings. Possible values are 'true' and 'false'
      Gibt zurück:
      this.
    • maximumLoginAttempts

      public AccountLockSettings.AccountLockSettingsBuilder maximumLoginAttempts(String maximumLoginAttempts)
      Number of attempts in the specified time interval (specified using timeInterval and timeIntervalUnit fields) to provide the correct password before locking the account
      Gibt zurück:
      this.
    • restrictLoginForUsersInDefaultTeam

      public AccountLockSettings.AccountLockSettingsBuilder restrictLoginForUsersInDefaultTeam(String restrictLoginForUsersInDefaultTeam)
      Specifies whether to restrict login for users who are not part of any team other than Default. By default the value is false.
      Gibt zurück:
      this.
    • timeInterval

      public AccountLockSettings.AccountLockSettingsBuilder timeInterval(String timeInterval)
      The time interval within which the number of wrong login attempts exceeding the value specified in 'maximumLoginAttempts' will result in locking the account.
      Gibt zurück:
      this.
    • timeIntervalUnit

      public AccountLockSettings.AccountLockSettingsBuilder timeIntervalUnit(String timeIntervalUnit)
      The unit for the time interval specified in the 'timeInterval' field. Possible values are 'Minutes', 'Hours', 'Days'.
      Gibt zurück:
      this.
    • build

      public AccountLockSettings build()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object