Legacy Knowledge Base
Published Jul. 2, 2025

How Password Policies are Applied in Liferay

Written By

Brian Larson

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.

This article describes several cases in which a user can receive a password policy.

Resolution

Here are several use-cases outlining how password policies are applied in Liferay Portal.

Case 1

When a user and all organizations that the user is a member of don't have a password policy, then the default policy is given to the user.

Case 2

If the user has no password policy but an organization the user is a member of does have a password policy, then the organization's password policy is given to the user.

Case 3

If a user is a member of multiple organizations with more than one of those organizations having a password policy, then the first such organization found by Liferay will impose its password policy on the user.

Case 4

If the user has been assigned a password policy and an organization the user is a member of has a password policy, then the user's password policy is applied.

Case 5

Password policies are not inherited among parent and child organizations due to performance concerns. Child organizations are assigned the default password policy rather than the password policy of parent organizations.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base