Commit Graph

11 Commits (40cd427c5cfbbf5b453944cac2b642a9f4c369af)

Author SHA1 Message Date
Dominik Frantisek Bucik 2c413d9916
feat: ๐ŸŽธ Refactored userinfo serv., new SAML-based claim sources
Refactored userinfo to fetch attributes only when needed and requested.
Also added the possibility to extract attributes from the actual SAML
session

BREAKING CHANGE: ๐Ÿงจ requires database update
2022-01-12 10:08:30 +01:00
Dominik Frantisek Bucik fb6a43a1e6
refactor: ๐Ÿ’ก Upgrade mockito to v4 2021-12-06 14:44:27 +01:00
Dominik Frantisek Bucik ceb01c78e7
fix: ๐Ÿ› Fix fallbacking of locale to the code to prevent errors 2021-12-02 16:22:03 +01:00
Dominik Frantisek Bucik e721d7abe9
refactor: ๐Ÿ’ก Removed UMA package (not used)
Several tables have been dropped from the database. Also, access_token
does not contain permissions anymore. To update the DB accordingly, run
following:

```sql
DROP TABLE access_token_permissions;
DROP TABLE resource_set;
DROP TABLE resource_set_scope;
DROP TABLE permission_ticket;
DROP TABLE permission;
DROP TABLE permission_scope;
DROP TABLE claim;
DROP TABLE claim_to_policy;
DROP TABLE claim_to_permission_ticket;
DROP TABLE policy;
DROP TABLE policy_scope;
DROP TABLE claim_token_format;
DROP TABLE claim_issuer;
DROP TABLE saved_registered_client;
```
2021-11-24 12:35:21 +01:00
Dominik Frantisek Bucik a44556577c
refactor: ๐Ÿ’ก Refactored all models 2021-11-24 11:42:55 +01:00
Dominik Frantisek Bucik b2599cef5a
refactor: ๐Ÿ’ก Updated some DB entities, added missing cascades
Updated AuthenticationHolder, AuthorizationCode, DeviceCode,
AccessToken, RefreshToken, UserAuthN representations of DB entries.
Added missing cascades for some elements, to prevent leaving orphaned
records in the DB (i.e. for UserAuthN entries).
2021-11-23 12:18:54 +01:00
Dominik Frantisek Bucik 2b94aff58e
refactor: ๐Ÿ’ก Code inspection by IDEA 2021-11-15 11:20:39 +01:00
Dominik Frantisek Bucik 1056d6acdc
refactor: ๐Ÿ’ก removed unneeded imports 2021-11-15 11:20:39 +01:00
Dominik Frantisek Bucik 26b5a99817
refactor: ๐Ÿ’ก Loggers via Lombok 2021-11-15 11:20:39 +01:00
Dominik Frantisek Bucik 23a6354fc7
feat: ๐ŸŽธ Sign refresh tokens
Add signature to the refresh_token JWT. Previously it has been missing
it.
2021-11-08 07:46:23 +01:00
Dominik Frantisek Bucik 11fdf85d5f
feat: ๐ŸŽธ Merge with perun-mitreid overlay, add SAML auth
Merge with overlay repository into one big repo. Added SAML
authentication

BREAKING CHANGE: ๐Ÿงจ Merge and auth
2021-11-03 08:23:34 +01:00