JAVA/CORBA CLASSES


MinPasswordLength property
Example

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

Registration

Data type

int

Syntax

public int getMinPasswordLength()
   throws NotesException

public void setMinPasswordLength(int len)
   throws NotesException

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.
Password quality scaleDescriptionExample
0Password is optional.n/a
1Allow any password."b", "3"
2-6Allow 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-12Require a password that is difficult to guess, but might be vulnerable to an automated attack."pqlrtmxr", "wefourkings" (password quality scale 8)
13-16Require 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)


Language cross-reference

MinPasswordLength property in LotusScript NotesRegistration class

@PasswordQuality function in formula language

Example