Server Configuration
Auth module
The server-side of User Management component depends almost entirely on the Genesis auth module. It's a built-in module that is installed by default, because all Genesis apps need the auth module as a prerequisite.
After the project generation, if you go to the /server/gradle.properties
file, you can see there's an authVersion
:
...
authVersion=7.1.4
...
caution
Always use the latest auth version on your application due to security reasons.
In the Genesis Home directory, you can see the basic structure of the auth module:
~/server/alpha-app/build/genesis-home/
├─ auth
│ ├─ bin
│ ├─ cfg
│ ├─ data
│ ├─ lib
│ └─ scripts
- bin: .jar files.
- cfg: configuration files for auth module.
- data: .csv files that contain initial data.
- lib: .jar files.
- scripts: specific scripts with procedures for auth module issues.
caution
It's important to load the initial data (.csv files) inside data
folder. Do this using SendIt command or using Import CSV(s) to Genesis option using the IntelliJ Plugin.
Auth processes
These are the auth processes running via mon
command:
GENESIS_AUTH_CONSOLIDATOR
GENESIS_AUTH_MANAGER
GENESIS_AUTH_PERMS