dw.customer
Class CustomerPasswordConstraints
dw.customer.CustomerPasswordConstraints
Provides access to the constraints of customer passwords. An instance of this class can be obtained via CustomerMgr.getPasswordConstraints().
Properties
minLength
:
Number
(Read Only)
The minimum length.
minSpecialChars
:
Number
(Read Only)
The minimum number of special characters.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
static getMinLength()
:
Number
Returns the minimum length.
static getMinSpecialChars()
:
Number
Returns the minimum number of special characters.
static isForceLetters()
:
boolean
Returns
true
if letters are enforced.
static isForceMixedCase()
:
boolean
Returns
true
if mixed case is enforced.
static isForceNumbers()
:
boolean
Returns
true
if numbers are enforced.
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Method Detail
getMinSpecialChars
static getMinSpecialChars()
:
Number
Returns the minimum number of special characters.
Returns:
the minimum number of special characters
isForceLetters
static isForceLetters()
:
boolean
Returns
true
if letters are enforced.
Returns:
if letters are enforced