Tutorial: Customizing the Data Load utility to encrypt data
This tutorial demonstrates how
to customize the Data Load utility to load user and password information
into the WebSphere Commerce database separately.
After user data is loaded to the WebSphere Commerce database, each user password is automatically reset the first time that a user attempts to logon to the store. The password is reset regardless of the password that was entered at logon time, since the password in the database is null.
This automatic reset of the null password at logon
time can be disabled by setting the following flag in the instance
configuration file to false:
MemberSubSystem/ResetPassword/resetNullPasswordEnabled
This tutorial shows you how to handle user password information by customizing the Data Load utility to load user passwords separately from the users.
Learning objectives
After completing this tutorial,
you should be able to:
- Configure the Data Load utility.
- Extend the generic table loader.
- Encrypt data by using Java classes.
Time required
Expect this tutorial to take 1 hour to complete.Skill level
IntermediateAudience
This tutorial is intended for WebSphere Commerce developers who want to extend the generic table loader to load customized data.System requirements
Before you begin this tutorial, ensure that the following tasks are complete:- Member data is loaded into the database.
- Password input (plain message text) is obtained from the external system by using data readers.
- Passwords are stored in a CSV file.
Prerequisites
To complete this tutorial, ensure that you have a basic understanding of the following concepts:- Data Load utility architecture.
- Password encryption.
- Generic table loader with extension table or column handler.