Gazelle Applications
User Management
User Management
  • Development guide
    • Readme
    • Release note
    • Modules
      • Keycloak-provider
      • Keycloak-theme
      • User-management-api
      • User-management-core
  • Usage guide
    • Keycloak Administrator guide
    • Gazelle Administrator guide
    • User guide
Powered by GitBook
On this page
  • Introduction
  • Services
  • Configurations
  • DAO
  1. Development guide
  2. Modules

User-management-core

Last updated 1 year ago

Introduction

In this module, you will find the implementations of the APIs described , and the DAOs implementations.

Services

You will find the implementations of the services UserEditService, UserLoginService, UserLookupService,UserRegistrationService described in .

You will also find the HashService, an interface that provides a method to encode a String and a method to verify if the hash provided is the same the raw value hashed. It has multiple implementations:

  • MD5HashService uses the MD5 algorithm to hash raw values

    Warning: MD5 algorithm is not considered secure and is here only for legacy purpose

  • CustomSHA1HashService uses a custom algorithm based on SHA1 to hash raw values

    Warning: SHA1 algorithm is not considered secure and is not used in a sensitive context

Configurations

You will find here interfaces used for retrieve configuration settings.

  • ApplicationConfig provides configuration linked to the applications

  • DatabaseConfig provides configurations linked to the database

DAO

You will find here all the DAOs used and their implementation.

  • UserEditDAO is used to update users, for now only password and last login timestamp are updatable

  • UserLogin is used to retrieve the password of a user

  • UserLookupDAO is used for searching users

  • UserRegistration is used to register user, for now it only retrieve the activation code of an unactivated vendor admin user

The UserSQLFragment class contains full or partial SQL request constants.

⚠️
⚠️
user-management-core
Introduction
Services
Configurations
DAO
here
User-management-api