クラス PasswordPolicyDefinition

java.lang.Object
org.iplass.mtp.auth.policy.definition.PasswordPolicyDefinition
すべての実装されたインタフェース:
java.io.Serializable

public class PasswordPolicyDefinition
extends java.lang.Object
implements java.io.Serializable
アカウントのパスワード制御のポリシー定義。
関連項目:
直列化された形式
  • コンストラクタの詳細

  • メソッドの詳細

    • getMaximumPasswordAge

      public int getMaximumPasswordAge()
      パスワードが有効な最大期間 (日)。0は無限。
      戻り値:
    • setMaximumPasswordAge

      public void setMaximumPasswordAge​(int maximumPasswordAge)
      パラメータ:
      maximumPasswordAge -
      関連項目:
      getMaximumPasswordAge()
    • getMinimumPasswordAge

      public int getMinimumPasswordAge()
      パスワード変更に最低限必要な期間(日)。
      戻り値:
    • setMinimumPasswordAge

      public void setMinimumPasswordAge​(int minimumPasswordAge)
      パラメータ:
      minimumPasswordAge -
      関連項目:
      getMinimumPasswordAge()
    • getPasswordPattern

      public java.lang.String getPasswordPattern()
      パスワードの複雑度チェックに利用する正規表現。
      戻り値:
    • setPasswordPattern

      public void setPasswordPattern​(java.lang.String passwordPattern)
      パラメータ:
      passwordPattern -
      関連項目:
      getPasswordPattern()
    • isDenySamePasswordAsAccountId

      public boolean isDenySamePasswordAsAccountId()
      アカウントIDと同一のパスワードを不許可とするか
      戻り値:
    • setDenySamePasswordAsAccountId

      public void setDenySamePasswordAsAccountId​(boolean denySamePasswordAsAccountId)
      パラメータ:
      denySamePasswordAsAccountId -
      関連項目:
      isDenySamePasswordAsAccountId()
    • getDenyList

      public java.lang.String getDenyList()
      パスワードの拒否リスト。複数指定する場合は改行で区切ってください。
      戻り値:
    • setDenyList

      public void setDenyList​(java.lang.String denyList)
      パラメータ:
      denyList -
      関連項目:
      getDenyList()
    • getPasswordPatternErrorMessage

      public java.lang.String getPasswordPatternErrorMessage()
      パスワードの複雑度エラー時のメッセージ。
      戻り値:
    • setPasswordPatternErrorMessage

      public void setPasswordPatternErrorMessage​(java.lang.String passwordPatternErrorMessage)
      パラメータ:
      passwordPatternErrorMessage -
      関連項目:
      getPasswordPatternErrorMessage()
    • getLocalizedPasswordPatternErrorMessageList

      public java.util.List<LocalizedStringDefinition> getLocalizedPasswordPatternErrorMessageList()
      パスワードの複雑度エラーのメッセージ(Localized)。
      戻り値:
    • setLocalizedPasswordPatternErrorMessageList

      public void setLocalizedPasswordPatternErrorMessageList​(java.util.List<LocalizedStringDefinition> localizedPasswordPatternErrorMessageList)
      パラメータ:
      localizedPasswordPatternErrorMessageList -
      関連項目:
      getLocalizedPasswordPatternErrorMessageList()
    • getPasswordHistoryCount

      public int getPasswordHistoryCount()
      過去入力したパスワードを覚えておく個数。 履歴に残っているパスワードは設定できない。 (厳密に言うと、パスワードのハッシュを記録するので、異なるパスワードでも衝突の可能性はある。)
      戻り値:
    • setPasswordHistoryCount

      public void setPasswordHistoryCount​(int passwordHistoryCount)
      パラメータ:
      passwordHistoryCount -
      関連項目:
      getPasswordHistoryCount()
    • getPasswordHistoryPeriod

      public int getPasswordHistoryPeriod()
      過去入力したパスワードを覚えておく期間(日)。 履歴に残っているパスワードは設定できない。 (厳密に言うと、パスワードのハッシュを記録するので、異なるパスワードでも衝突の可能性はある。)
      戻り値:
    • setPasswordHistoryPeriod

      public void setPasswordHistoryPeriod​(int passwordHistoryPeriod)
      パラメータ:
      passwordHistoryPeriod -
      関連項目:
      getPasswordHistoryPeriod()
    • isCreateAccountWithSpecificPassword

      public boolean isCreateAccountWithSpecificPassword()
      アカウント作成の際、初期パスワードを指定可能とするか。
      trueの場合:パスワードが指定されていれば、そのパスワードでアカウントを作成。未指定の場合は自動生成。
      falseの場合:パスワード指定出来ない。アカウント作成時に自動生成される。
      戻り値:
    • setCreateAccountWithSpecificPassword

      public void setCreateAccountWithSpecificPassword​(boolean createAccountWithSpecificPassword)
      パラメータ:
      createAccountWithSpecificPassword -
      関連項目:
      isCreateAccountWithSpecificPassword()
    • isResetPasswordWithSpecificPassword

      public boolean isResetPasswordWithSpecificPassword()
      パスワードリセットの際、プログラム側からパスワード指定を許すかどうか。
      trueの場合:パスワードが指定されていれば、そのパスワードをセット。未指定の場合は自動生成。
      falseの場合:パスワード指定出来ない。自動生成されたパスワードでリセットされる。
      戻り値:
    • setResetPasswordWithSpecificPassword

      public void setResetPasswordWithSpecificPassword​(boolean resetPasswordWithSpecificPassword)
      パラメータ:
      resetPasswordWithSpecificPassword -
      関連項目:
      isResetPasswordWithSpecificPassword()
    • getRandomPasswordIncludeSigns

      public java.lang.String getRandomPasswordIncludeSigns()
      自動生成パスワード生成時に、利用する記号文字列。
      戻り値:
    • setRandomPasswordIncludeSigns

      public void setRandomPasswordIncludeSigns​(java.lang.String randomPasswordIncludeSigns)
      パラメータ:
      randomPasswordIncludeSigns -
      関連項目:
      getRandomPasswordIncludeSigns()
    • getRandomPasswordExcludeChars

      public java.lang.String getRandomPasswordExcludeChars()
      自動生成パスワード生成時に、利用しない文字。 例えば、"0oO1l"など。判別が難しい文字など指定。
      戻り値:
    • setRandomPasswordExcludeChars

      public void setRandomPasswordExcludeChars​(java.lang.String randomPasswordExcludeChars)
      パラメータ:
      randomPasswordExcludeChars -
      関連項目:
      getRandomPasswordExcludeChars()
    • getRandomPasswordLength

      public int getRandomPasswordLength()
      自動生成パスワード生成時のパスワードの長さ。
      戻り値:
    • setRandomPasswordLength

      public void setRandomPasswordLength​(int randomPasswordLength)
      パラメータ:
      randomPasswordLength -
      関連項目:
      getRandomPasswordLength()