Secure > Enhance site security > Enable password-protected commands


Views for password protected commands

To use the password protected commands security feature, define the PasswordReEnterErrorView and the PasswordReEnterFormView views for the store.


PasswordReEnterErrorView

This view is used in the following scenarios:

In both cases, the user should have a way to continue to another page through a link on the current page.

PasswordReEnterErrorView view attributes

ECConstants.EC_PASSWORD_REREQUEST_MSGCODE

0

A problem occurred when attempting to authenticate the user.

null

The user failed to provide the password and is logged off.


PasswordReEnterFormView

This view is displayed when user tries to execute a password protected command. It should provide user with form to enter password. There should be two entry fields for password.

PasswordReEnterFormView view attributes

ECConstants.EC_PASSWORD_REREQUEST_URL

The URL is run using the Submit button of the form.

ECConstants.EC_PASSWORD_REREQUEST_MSGCODE

The message code specifying the message that is shown to the user:

1

The passwords that were entered do not match.

2

A password was not entered.

3

An incorrect password was entered.

PasswordReEnterFormView form attributes

ECConstants.EC_PASSWORD_REREQUEST_PASSWORD1

The first password.

ECConstants.EC_PASSWORD_REREQUEST_PASSWORD2

The second password.


+

Search Tips   |   Advanced Search