Commit Graph

2796 Commits (0586a777e7fb535e99793dd6f8f3baf865aa1f04)

Author SHA1 Message Date
Dominik Frantisek Bucik 0586a777e7
refactor: 💡 Removed unused locales 2021-11-30 12:38:22 +01:00
Dominik Frantisek Bucik b8b81bb57a
refactor: Removed duplicate SQL files 2021-11-30 12:38:22 +01:00
Dominik František Bučík 809e7317bb
Merge pull request #47 from dBucik/refactor_models
Refactor
2021-11-30 12:37:37 +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 f85cd5c1c5
refactor: 💡 Removed PerunACR and PerunDeviceACR
Removed models and repositories, removed scheduled tasks tied to these
classes. Acr is now instead stored together with the User authentication
2021-11-23 18:12:05 +01:00
Dominik František Bučík 7155e4adf5
Merge pull request #46 from dBucik/refactor_models
refactor: 💡 Updated some DB entities, added missing cascades
2021-11-23 12:52:24 +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 František Bučík 04c36cce61
Merge pull request #40 from CESNET/melanger-patch-1
docs: Update hsql_database_tables.sql
2021-11-22 07:15:44 +01:00
Dominik František Bučík 14dc06dcbc
Merge pull request #43 from CESNET/melanger-patch-4
Update psql_database_tables.sql
2021-11-22 07:15:07 +01:00
Dominik František Bučík b454c9b118
Merge pull request #42 from CESNET/melanger-patch-3
Update mysql_database_tables.sql
2021-11-22 07:14:51 +01:00
Dominik František Bučík 93e6f2113e
Merge pull request #41 from CESNET/melanger-patch-2
Update psql_database_tables.sql
2021-11-22 07:14:20 +01:00
semantic-release-bot b2ae1875ab chore(release): 4.0.1 [skip ci]
## [4.0.1](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v4.0.0...v4.0.1) (2021-11-19)

### Bug Fixes

* 🐛 Fixed missing ACRs code and device_code flows ([4d3b072](4d3b07225c))
2021-11-19 17:26:47 +00:00
Pavel Břoušek 350ab68e0c
Update perun-oidc-server-webapp/src/main/resources/db/psql/psql_database_tables.sql 2021-11-19 18:25:59 +01:00
Pavel Břoušek 74bec47d7d
Update perun-oidc-server-webapp/src/main/resources/db/mysql/mysql_database_tables.sql 2021-11-19 18:25:38 +01:00
Pavel Břoušek 39acd0f238
Update perun-oidc-server-webapp/src/main/resources/db/hsql/hsql_database_tables.sql 2021-11-19 18:24:53 +01:00
Dominik František Bučík 301cd03190
Merge pull request #44 from dBucik/fix_acrs
fix: 🐛 Fixed missing ACRs code and device_code flows
2021-11-19 18:23:55 +01:00
Dominik Frantisek Bucik 4d3b07225c
fix: 🐛 Fixed missing ACRs code and device_code flows 2021-11-19 18:16:53 +01:00
Pavel Břoušek 0f559a72d2
Update psql_database_tables.sql 2021-11-19 16:36:59 +01:00
Pavel Břoušek 6064458f0d
Update mysql_database_tables.sql 2021-11-19 16:36:24 +01:00
Pavel Břoušek f7a81ede1f
Update psql_database_tables.sql 2021-11-19 16:35:45 +01:00
Pavel Břoušek 9fc0acf0dd
Update hsql_database_tables.sql 2021-11-19 16:34:56 +01:00
semantic-release-bot bcb0b0b66e chore(release): 4.0.0 [skip ci]
# [4.0.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v3.5.0...v4.0.0) (2021-11-19)

### Bug Fixes

* 🐛 Fix ACR for implicit and authorization_code flows ([39bc00a](39bc00a3b0))

### BREAKING CHANGES

* 🧨 Database needs to be updated: `ALTER TABLE saved_user_auth DROP
source_class; ALTER TABLE saved_user_auth ADD COLUMN acr VARCHAR(1024);`
2021-11-19 15:21:26 +00:00
Dominik František Bučík 9a0a0f173c
Merge pull request #39 from dBucik/acrs
Acrs
2021-11-19 16:18:08 +01:00
Dominik Frantisek Bucik 39bc00a3b0
fix: 🐛 Fix ACR for implicit and authorization_code flows
BREAKING CHANGE: 🧨 Database needs to be updated: `ALTER TABLE saved_user_auth DROP
source_class; ALTER TABLE saved_user_auth ADD COLUMN acr VARCHAR(1024);`
2021-11-19 16:14:21 +01:00
Dominik Frantisek Bucik b4cd6a4642
refactor: 💡 Got rid of PerunPrincipal class 2021-11-19 13:36:14 +01:00
semantic-release-bot 52e5c01776 chore(release): 3.5.0 [skip ci]
# [3.5.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v3.4.1...v3.5.0) (2021-11-16)

### Features

* 🎸 AARC_IDP_HINTING implemented ([ebd1459](ebd1459ba3))
2021-11-16 06:31:00 +00:00
Dominik František Bučík 0804e69a3c
Merge pull request #35 from dBucik/aarc_idp_hinting
feat: 🎸 AARC_IDP_HINTING implemented
2021-11-16 07:27:54 +01:00
Dominik Frantisek Bucik ebd1459ba3
feat: 🎸 AARC_IDP_HINTING implemented 2021-11-16 07:22:38 +01:00
semantic-release-bot 9c135ec304 chore(release): 3.4.1 [skip ci]
## [3.4.1](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v3.4.0...v3.4.1) (2021-11-15)

### Bug Fixes

* 🐛 Added missing PostgreSQL dependency ([e12c164](e12c164b46))
2021-11-15 11:54:56 +00:00
Dominik František Bučík 9ba4ac8628
Merge pull request #38 from dBucik/psql
Psql
2021-11-15 12:52:31 +01:00
Dominik Frantisek Bucik e12c164b46
fix: 🐛 Added missing PostgreSQL dependency
Added dependency to be able to use PSQL connector
2021-11-15 11:41:48 +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 570fdfda2d
refactor: 💡 refactor logging 2021-11-15 11:20:38 +01:00
Dominik Frantisek Bucik fc04fbe6a4
refactor: 💡 Merge DB files 2021-11-15 11:20:26 +01:00
semantic-release-bot f8f499c17a chore(release): 3.4.0 [skip ci]
# [3.4.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v3.3.0...v3.4.0) (2021-11-12)

### Features

* 🎸 Forward client_id in AuthenticationContextClass ([6a6d1e3](6a6d1e3ad9))
2021-11-12 12:34:13 +00:00
Dominik František Bučík e6f91dcbed
Merge pull request #36 from dBucik/acr_client_id
feat: 🎸 Forward client_id in AuthenticationContextClass
2021-11-12 13:31:54 +01:00
Dominik Frantisek Bucik 6a6d1e3ad9
feat: 🎸 Forward client_id in AuthenticationContextClass
Forward client_id in the AuthenticationContextClass element. This can be
used by the proxy to i.e. display name of the service on WAYF.
2021-11-12 13:28:38 +01:00
semantic-release-bot 8cf4b64531 chore(release): 3.3.0 [skip ci]
# [3.3.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v3.2.0...v3.3.0) (2021-11-11)

### Features

* 🎸 Extended list of internal referrers for sess. invalider ([9aa16ff](9aa16ffe5c))
* 🎸 Make SAML identifier attribute configurable ([3949857](39498573c3))
2021-11-11 13:23:35 +00:00
Dominik František Bučík e058cbbf7f
Merge pull request #34 from dBucik/saml
Saml
2021-11-11 14:21:11 +01:00
Dominik Frantisek Bucik 9aa16ffe5c
feat: 🎸 Extended list of internal referrers for sess. invalider
Via property _saml.internalReferrers_ it can be configured which
referrers are considered as internal and in such a cases session will
not be invalidated. The property has to be list of URLs, separated by a
comma, and the matching is done as a prefix of the current referrer
2021-11-11 10:23:20 +01:00
Dominik Frantisek Bucik 39498573c3
feat: 🎸 Make SAML identifier attribute configurable
Attribute is configured via property _saml.user.attrIdentifier_ and has
to be one of values eppn|epuid|eptid|uid|uniqueIdentifier
2021-11-11 10:22:56 +01:00
semantic-release-bot cf3c19c046 chore(release): 3.2.0 [skip ci]
# [3.2.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v3.1.0...v3.2.0) (2021-11-09)

### Features

* 🎸 Adderd e-INFRA CZ template ([5eb50f6](5eb50f6441))
2021-11-09 10:53:55 +00:00
Dominik František Bučík 059c03ef54
Merge pull request #28 from dBucik/einfra-tpl
feat: 🎸 Adderd e-INFRA CZ template
2021-11-09 11:51:58 +01:00
Dominik Frantisek Bucik 5eb50f6441
feat: 🎸 Adderd e-INFRA CZ template
Added e-INFRA CZ template for frontend pages. Enable it by using
web.theme=einfra in the config
2021-11-09 11:28:36 +01:00
Dominik František Bučík d5079cfe97
Merge pull request #33 from dBucik/saml_metadata_checks
Saml metadata checks
2021-11-09 11:27:01 +01:00
Dominik Frantisek Bucik e15dadc95a
refactor: 💡 Update metadata refresh settings 2021-11-09 11:14:05 +01:00
Dominik Frantisek Bucik 0b68a720fb
refactor: 💡 Disable metadata signature check 2021-11-09 11:13:36 +01:00