legacy-knowledge-base
公開されました Jun. 30, 2025

スクリーン名とパスワードに特殊文字を使用可能にする

written-by

Adrienne Lao

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

learn-legacy-article-disclaimer-text

問題

  • スクリーンネームやパスワードの設定に特殊文字を使用しようとすると、すべての特殊文字が受け入れられるわけではありません。

環境

  • DXP 7.0+

解像度

  • 特殊文字を追加して使用できるようにする簡単な回避策があります。
  • パスワード用のportal-ext.propertiesファイルに以下のプロパティを追加すると、追加の文字を使用できるようになります:
  • passwords.passwordpolicytoolkit.validator.charset.symbols=_.!@S*=-?
  • これはデフォルトのプロパティで、(まだ含まれていない)文字を追加するには、プロパティの最後に追加するだけです。
  • portal-ext.propertiesファイルにスクリーン名用に以下のプロパティを追加すると、以下の文字の使用が可能になります:"-"、"."、"_"。
  •  users.screen.name.special.characters=-._

did-this-article-resolve-your-issue

legacy-knowledge-base