strength
Reactive icon

Password Policy/Strength

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 12 Jun
 by 
5.0
 (3 ratings)
strength

Password Policy/Strength

Documentation
1.0.1


  • On your registration or password change screen, drag and drop the PasswordPolicy widget.

  • Set the following Input Parameters:

    • Password (Text) – the password string you want to validate.

    • Policy (PasswordComplexityPolicy structure) – Define your custom rules, including:

      • MinimumLength (Integer)

      • UpperCaseLetterRequired (Boolean)

      • LowerCaseLetterRequired (Boolean)

      • NumberRequired (Boolean)

      • SpecialCharacterRequired (Boolean)


Example:- 


PasswordComplexityPolicy.MinimumLength = 8
PasswordComplexityPolicy.UpperCaseLetterRequired = True
PasswordComplexityPolicy.LowerCaseLetterRequired = True
PasswordComplexityPolicy.NumberRequired = True
PasswordComplexityPolicy.SpecialCharacterRequired = False




1.0.0

Installation

  1. Download and Add the Component:

    • In your OutSystems environment, go to the OutSystems Forge.
    • Search for the "Password Policy Component."
    • Download the component and add it to your application as a dependency.
  2. Add the Password Policy Widget:

    • In your screen, add the "Password Policy" widget to the user registration or password change form.
    • Add max length or password variable to the widget input parameter.
    • Handle the PasswordPolicyCompliant event and get the runtime validation