Legacy Knowledge Base
公開されました Jul. 2, 2025

passwords.default.policy.check.syntax=" が true に設定されている場合、新しい仮想インスタンスは作成できません。

Written By

Tímea Bihari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • portal-ext.properties ファイルで passwords.default.policy.check.syntax=true を設定すると、新しい仮想インスタンスを作成できません。
  • ログにエラーが出る
  • ERROR [ajp-nio-127.0.0.1-8009-exec-34][EditInstanceMVCActionCommand:121] com.liferay.portal.kernel.exception.UserPasswordException$MustBeLonger: Password for user 0 must be at least 8 characters

環境への配慮

  • ライフレイDXP 7.0

決議

  • 新しいバーチャルホストを作成すると、Liferayは新しいデフォルトのパスワードポリシーを作成します( portal(-ext).propertiesを使用します)。
  • これらが作成されると、Liferayはバーチャルホストの新しい管理者ユーザーも作成します。
  • default.admin.password プロパティで指定された admin ユーザーのデフォルトパスワードは、新しいバーチャルホストに設定された新しく作成されたデフォルトパスワードポリシーの対象となります。
  • この問題を解決するには、 default.admin.password プロパティで設定されたパスワードは、 portal(-ext).property レベルで設定されたデフォルトのパスワードポリシーに準拠しなければなりません。
  • 順番も関係していて、管理者パスワードはパスワードポリシーの前にファイルで設定する必要があります。
Did this article resolve your issue ?

Legacy Knowledge Base