Authentication
- add AuthenticationController - add AuthenticationService - add getUserByUsername to AccountService - add findByUsername to AccountRepository - add SecurityConfiguration - set up authentication
This commit is contained in:
@@ -10,15 +10,22 @@ In twilight's hush, where mythic tales unfold, A ledger of legends, the bravest
|
||||
| spring.r2dbc.url | ✓ | Postgres host url |
|
||||
| spring.r2dbc.username | ✓ | Postgres username |
|
||||
| spring.r2dbc.password | ✗ | Postgres password |
|
||||
| jwt.private-key | ✓ | JWT private key file |
|
||||
|
||||
*Required: ✓ can be stored as text, and ✗ need to be stored as secret.*
|
||||
|
||||
## Releasing Service
|
||||
## Development Configuration
|
||||
|
||||
Run `release.sh` script from `master` branch.
|
||||
|
||||
## Development Information
|
||||
|
||||
### Private RSA Key
|
||||
|
||||
This service uses RAS keys to create identities for users. The private key is used here to generate identities, while the public key is used by **[Hlæja Registry API](https://github.com/swordsteel/hlaeja-registry-api)** to identify a users and accept data.
|
||||
|
||||
*For instructions on how to set these up, please refer to our [generate RSA key](https://github.com/swordsteel/hlaeja-development/blob/master/doc/rsa_key.md) documentation.*
|
||||
|
||||
### Global Setting
|
||||
|
||||
This services rely on a set of global settings to configure development environments. These settings, managed through Gradle properties or environment variables.
|
||||
|
||||
Reference in New Issue
Block a user