クラス PasswordPolicyDefinition
java.lang.Object
org.iplass.mtp.auth.policy.definition.PasswordPolicyDefinition
- すべての実装されたインタフェース:
Serializable
アカウントのパスワード制御のポリシー定義。
- 関連項目:
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明ユーザー終了日をカスタムで設定するScriptパスワードの拒否リスト。パスワードの複雑度エラーのメッセージ(Localized)。intパスワードが有効な最大期間 (日)。int自動生成パスワードが有効な最大期間 (日)。intパスワード変更に最低限必要な期間(日)。int過去入力したパスワードを覚えておく個数。int過去入力したパスワードを覚えておく期間(日)。パスワードの複雑度チェックに利用する正規表現。パスワードの複雑度エラー時のメッセージ。自動生成パスワード生成時に、利用しない文字。自動生成パスワード生成時に、利用する記号文字列。int自動生成パスワード生成時のパスワードの長さ。booleanアカウント作成の際、初期パスワードを指定可能とするか。booleanアカウントIDと同一のパスワードを不許可とするかbooleanパスワードリセットの際、プログラム側からパスワード指定を許すかどうか。voidsetCreateAccountWithSpecificPassword(boolean createAccountWithSpecificPassword) voidsetCustomUserEndDate(String customUserEndDate) voidsetDenyList(String denyList) voidsetDenySamePasswordAsAccountId(boolean denySamePasswordAsAccountId) voidsetLocalizedPasswordPatternErrorMessageList(List<LocalizedStringDefinition> localizedPasswordPatternErrorMessageList) voidsetMaximumPasswordAge(int maximumPasswordAge) voidsetMaximumRandomPasswordAge(int maximumRandomPasswordAge) voidsetMinimumPasswordAge(int minimumPasswordAge) voidsetPasswordHistoryCount(int passwordHistoryCount) voidsetPasswordHistoryPeriod(int passwordHistoryPeriod) voidsetPasswordPattern(String passwordPattern) voidsetPasswordPatternErrorMessage(String passwordPatternErrorMessage) voidsetRandomPasswordExcludeChars(String randomPasswordExcludeChars) voidsetRandomPasswordIncludeSigns(String randomPasswordIncludeSigns) voidsetRandomPasswordLength(int randomPasswordLength) voidsetResetPasswordWithSpecificPassword(boolean resetPasswordWithSpecificPassword)
-
コンストラクタの詳細
-
PasswordPolicyDefinition
public PasswordPolicyDefinition()
-
-
メソッドの詳細
-
getMaximumPasswordAge
public int getMaximumPasswordAge()パスワードが有効な最大期間 (日)。0は無限。- 戻り値:
-
setMaximumPasswordAge
public void setMaximumPasswordAge(int maximumPasswordAge) - パラメータ:
maximumPasswordAge-- 関連項目:
-
getMinimumPasswordAge
public int getMinimumPasswordAge()パスワード変更に最低限必要な期間(日)。- 戻り値:
-
setMinimumPasswordAge
public void setMinimumPasswordAge(int minimumPasswordAge) - パラメータ:
minimumPasswordAge-- 関連項目:
-
getPasswordPattern
パスワードの複雑度チェックに利用する正規表現。- 戻り値:
-
setPasswordPattern
- パラメータ:
passwordPattern-- 関連項目:
-
isDenySamePasswordAsAccountId
public boolean isDenySamePasswordAsAccountId()アカウントIDと同一のパスワードを不許可とするか- 戻り値:
-
setDenySamePasswordAsAccountId
public void setDenySamePasswordAsAccountId(boolean denySamePasswordAsAccountId) - パラメータ:
denySamePasswordAsAccountId-- 関連項目:
-
getDenyList
パスワードの拒否リスト。複数指定する場合は改行で区切ってください。- 戻り値:
-
setDenyList
- パラメータ:
denyList-- 関連項目:
-
getPasswordPatternErrorMessage
パスワードの複雑度エラー時のメッセージ。- 戻り値:
-
setPasswordPatternErrorMessage
- パラメータ:
passwordPatternErrorMessage-- 関連項目:
-
getLocalizedPasswordPatternErrorMessageList
パスワードの複雑度エラーのメッセージ(Localized)。- 戻り値:
-
setLocalizedPasswordPatternErrorMessageList
public void setLocalizedPasswordPatternErrorMessageList(List<LocalizedStringDefinition> localizedPasswordPatternErrorMessageList) - パラメータ:
localizedPasswordPatternErrorMessageList-- 関連項目:
-
getPasswordHistoryCount
public int getPasswordHistoryCount()過去入力したパスワードを覚えておく個数。 履歴に残っているパスワードは設定できない。 (厳密に言うと、パスワードのハッシュを記録するので、異なるパスワードでも衝突の可能性はある。)- 戻り値:
-
setPasswordHistoryCount
public void setPasswordHistoryCount(int passwordHistoryCount) - パラメータ:
passwordHistoryCount-- 関連項目:
-
getPasswordHistoryPeriod
public int getPasswordHistoryPeriod()過去入力したパスワードを覚えておく期間(日)。 履歴に残っているパスワードは設定できない。 (厳密に言うと、パスワードのハッシュを記録するので、異なるパスワードでも衝突の可能性はある。)- 戻り値:
-
setPasswordHistoryPeriod
public void setPasswordHistoryPeriod(int passwordHistoryPeriod) - パラメータ:
passwordHistoryPeriod-- 関連項目:
-
isCreateAccountWithSpecificPassword
public boolean isCreateAccountWithSpecificPassword()アカウント作成の際、初期パスワードを指定可能とするか。
trueの場合:パスワードが指定されていれば、そのパスワードでアカウントを作成。未指定の場合は自動生成。
falseの場合:パスワード指定出来ない。アカウント作成時に自動生成される。- 戻り値:
-
setCreateAccountWithSpecificPassword
public void setCreateAccountWithSpecificPassword(boolean createAccountWithSpecificPassword) - パラメータ:
createAccountWithSpecificPassword-- 関連項目:
-
isResetPasswordWithSpecificPassword
public boolean isResetPasswordWithSpecificPassword()パスワードリセットの際、プログラム側からパスワード指定を許すかどうか。
trueの場合:パスワードが指定されていれば、そのパスワードをセット。未指定の場合は自動生成。
falseの場合:パスワード指定出来ない。自動生成されたパスワードでリセットされる。- 戻り値:
-
setResetPasswordWithSpecificPassword
public void setResetPasswordWithSpecificPassword(boolean resetPasswordWithSpecificPassword) - パラメータ:
resetPasswordWithSpecificPassword-- 関連項目:
-
getRandomPasswordIncludeSigns
自動生成パスワード生成時に、利用する記号文字列。- 戻り値:
-
setRandomPasswordIncludeSigns
- パラメータ:
randomPasswordIncludeSigns-- 関連項目:
-
getRandomPasswordExcludeChars
自動生成パスワード生成時に、利用しない文字。 例えば、"0oO1l"など。判別が難しい文字など指定。- 戻り値:
-
setRandomPasswordExcludeChars
- パラメータ:
randomPasswordExcludeChars-- 関連項目:
-
getRandomPasswordLength
public int getRandomPasswordLength()自動生成パスワード生成時のパスワードの長さ。- 戻り値:
-
setRandomPasswordLength
public void setRandomPasswordLength(int randomPasswordLength) - パラメータ:
randomPasswordLength-- 関連項目:
-
getMaximumRandomPasswordAge
public int getMaximumRandomPasswordAge()自動生成パスワードが有効な最大期間 (日)。0は無限。- 戻り値:
-
setMaximumRandomPasswordAge
public void setMaximumRandomPasswordAge(int maximumRandomPasswordAge) - パラメータ:
maximumRandomPasswordAge-- 関連項目:
-
getCustomUserEndDate
ユーザー終了日をカスタムで設定するScript- 戻り値:
-
setCustomUserEndDate
- パラメータ:
customUserEndDate-- 関連項目:
-