API経由で登録したユーザのパスワードとパスワードポリシーの適用について
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
問題
- ユーザーをAPI経由で登録しています。
- パスワード、パスワードポリシーはどのような値が設定されますか。
環境
解決
- APIでユーザーを登録時にパスワードを指定しない場合、自動生成されたパスワードが設定されます。
関連ソースコード:UserLocalServiceImpl.java
- パスワードポリシーは、「Default Password Policy」が適用されます。
did-this-article-resolve-your-issue