Package com.axelor.auth.password.policy
Class PolicyDescription
java.lang.Object
com.axelor.auth.password.policy.PolicyDescription
Represents a user-facing description of an active password policy requirement, intended for
display as guidance on the login or change-password page before the user submits.
Carries the policy ID, a raw translatable message key, and optional format parameters. Use
getTranslatedMessage() to obtain the final, translated and formatted string.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the raw (untranslated) message key.Object[]Returns the format parameters to interpolate into the translated message.Returns the identifier of the policy that produced this description.Returns the translated and formatted description string, ready for display.
-
Constructor Details
-
PolicyDescription
-
-
Method Details
-
getPolicyId
Returns the identifier of the policy that produced this description. -
getMessage
Returns the raw (untranslated) message key. -
getParameters
Returns the format parameters to interpolate into the translated message. -
getTranslatedMessage
Returns the translated and formatted description string, ready for display.
-