Commerce+ authentication model
The Commerce+ authentication model is based on the following concepts: challenge mechanisms, authentication mechanisms and user registries.
Challenge mechanisms
A challenge mechanism specifies how a server challenges and retrieves authentication data from a user. Commerce+ supports the following authentication methods or challenge mechanisms:
- Form-based or custom authentication
- This authentication mechanism permits a site or store specific login through an HTML page or a JSP form.
Authentication mechanisms
An authentication mechanism verifies user authentication data against an associated user registry. Commerce+ issues an authentication token that is associated with a user on every subsequent request after the authentication process. It is terminated when the user logs off or closes the browser.
- Database authentication
- This is the process of verifying that the logon ID and password supplied by the user are valid when compared to the authentication information stored in the Commerce+ database.
- Third-party authentication
- This is the process of verifying the logon ID and password supplied by the user against a third-party user registry.
MemberSubSystem/AuthenticationModeWhere
applicable values are:- DB for database authentication.
- OTHER for third-party authentication.
User registry
The user registry is a repository that contains user information, and the user's authentication information (for example, the password). Authentication information provided by a principal (that is, the representation of a human user or system entity in a user registry) can be verified or validated against the user registry.
Commerce+ supports user registries based on the Commerce+ database.
Identity service
Commerce Lab uses the Identity service (SaaS) to log in. The Identity service uses Keycloak as its identity provider. The access token issued by Identity service can then be used to call transaction server APIs as well as the various PBCs, such as INVENTORY. On the other hand, storefront login continues to authenticate to Commerce APIs directly. For more information on Identity service, see Managing business users.