MinPasswordLength (NotesRegistration - JavaScript)

Read-Write. The strength assigned to a password in an ID file. Note The assignment of strength instead of length in the property is new with Release 5.

Defined in

NotesRegistration

Syntax

getMinPasswordLength() : int

setMinPasswordLength(len:int) : void

Usage

Set this property before calling registerNewCertifier, registerNewServer, or registerNewUser.

This property defines the password strength required for subsequent changes to the password by the user. A password assigned in the methods listed above is not initially checked against the strength. Domino® measures a password's strength and security according to the level assigned on its password quality scale. The scale ranges from Weak to Strong or from 0 (lowest - no password required) to 16 (highest). For more information about the password quality scale, see "Understanding the password quality scale" in Administering the Domino® System.

Table 1.
Password quality scale Description Example
0 Password is optional. n/a
1 Allow any password. "b", "3"
2-6 Allow a weak password, even though you might be able to guess it by trial and error.
  • "password", "doughnut" (password quality scale 3)
  • "lightferret", "b 4D" (password quality scale 6)
7-12 Require a password that is difficult to guess, but might be vulnerable to an automated attack. "pqlrtmxr", "wefourkings" (password quality scale 8)
13-16 Require a strong password, even though the user may have difficulty remembering it.
  • "4891spyONu" (password quality scale 13)
  • "lakestreampondriverocean", "stRem2pO()" (password quality scale 15)
  • "stream8pond1river7lake2ocean" (password quality scale 16)