authenticator


Purpose

Creates an authenticator object of a requested type.

Signature

authenticator( type )

Returns

This method returns an authenticator object, for example: CredentialsLockAuthenticator.

Parameter

The table below describes parameters of the authenticator method:

Name Description Type Use
type A type of an authenticator, as defined in the Type enum. integer required

Error messages

If the parameter passed to the method is either undefined or it is null, the method returns the following error message:

"Authentication: Parameter type is not specified".

If the parameter passed as type parameter is not defined by the Type enum, the method returns an error message:

"Authentication: Invalid type parameter:'" + type + "'. " + "Supported types: Authentication.Type.CREDENTIALS_LOCK"

Related topics

Authentication
Legal notice | Copyright © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Feedback
Advanced...