The following table describes the extension point details for the Customers (User) microservice.
See also, About Extending Infosys Equinox Commerce.
EXTENSION POINT NAME | EXTENSION POINT DESCRIPTION | EXTENSION INTERFACE METHOD SIGNATURE |
---|---|---|
PwdValidatorStrategy | Indicates the class used to validate the password. The default implementation has set of validations which are configurable if a client wants to extend and add more validations that can be done. | boolean isValidPassword(String password, JSONObject passwordValidatorConfig); |
PwdHashingStrategy | Indicates the class used to do hashing on the password. The default implementation is the Bcrypt algorithm for hashing. This class can be extended to implement other hashing algorithms. | String hashPassword(String password, String psalt); boolean checkPassword(String plainPassword, String hashedPassword, String psalt); |
UserAuthenticatorService | Indicates an interface, which can be implemented to check and authenticate the user credentials. The default and custom login implementation are available inside the service. The User service depends on the following plug-ins for social logins: 1. facebookauth-user-plugin 2. googleauth-user-plugin 3. oauth-user-plugin 4. ldap-user-plugin | AuthenticatedUser authenticate(UserAuthRequest request, AuthenticationConfig config, |
PublicProfileStrategy | Indicates a class, which is used to configure the public profile properties of a user. The default implementation returns the user's first name, last name, and type. This class can be extended to configure the user profile properties in the response. For example, email, username, phone number, etc. | List |
Revision History
2022-04-10 | JP – Fixed link and http issues.
2020-01-14 | AN – Updated content for February 2020 release.
2019-07-10 | AM – Updated extensions for July 2019 release.
2019-06-16 | PLK – Minor copyedits and link added.
2019-05-16 | AM – Updated to a new table tool.
2019-04-15 | AM – Content updated for April 2019 release.
2019-01-21 | PLK – Content uploaded.