Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Profound UI has the ability to handle expired passwords, but by default , this functionality is turned off. For consistency between releases, customers must specifically enable this feature , but doing so is extremely simple.

...

Turning on password handling is as simple as changing the value in PUIPWDMGT to a value other than '0'. For example, if you wanted to enable only expired password handling, you would use the CHGDTAARA command from the IBM i command line like this:

Code Block
none
none

CHGDTAARA DTAARA(PROFOUNDUI/PUIPWDMGT) VALUE('1')                  

...

When PUIPWDMGT is set to any value other than '0' and a user signs on, Profound UI will automatically check to see if the user's password is expired or within the warning period. This warning period is normally controlled by the QPWDEXPWRN system value, but can be overriden overridden at the user profile level. If you are running V5R4 or earlier, there is no QPWDEXPWRN system value and a value of 7 days is used instead.

If the user's password has already expired, the following window is displayed:

Image RemovedImage Added

Clicking Change Password will take the user to the following screen to change the password:

Image RemovedImage Added

Clicking Cancel will return the user to the sign on screen with an error message that the password is expired.

 

If the user's password will expire within the warning period, the following screen will appear to let the user know how long until the password expires:

Image RemovedImage Added

In this scenario, if the user clicks Change Password they will still go to the screen mentioned previously, however if the user clicks Cancel, they will continue on in Profound UI.

...

If PUIPWDMGT is set to '2', the "Change Password" screen can be called at any time within your application. To do so, your application will call the program PROFOUNDUI/PUI0001203. This program accepts only one parameter, the user name. As always, the user will then need to enter the current and new password in order to change. The following is an example prototype for calling the change password screen.:

Code Block
none
none

       //Prototype
     D Change_Password...
     D                 PR                  ExtPgm('PUI0001203')
     D  User                         10A   Const