Commit Graph

55 Commits (0ebfd1861155f425ac6ee0c6163ed14b0dcea78b)

Author SHA1 Message Date
Dominik Frantisek Bucik 31710bf5f5
fix: ๐Ÿ› Fix inserting and reading properties in the stats filter 2021-12-09 16:59:18 +01:00
semantic-release-bot 231638c1aa chore(release): 7.4.0 [skip ci]
# [7.4.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v7.3.0...v7.4.0) (2021-12-09)

### Features

* ๐ŸŽธ Configurable name of user col in stats filter ([4a5be5d](4a5be5d32b))
2021-12-09 14:46:03 +00:00
Dominik Frantisek Bucik 4a5be5d32b
feat: ๐ŸŽธ Configurable name of user col in stats filter
Added possiblity to configure username column name in the stats filter.
2021-12-09 15:40:19 +01:00
semantic-release-bot 5137c6e8e9 chore(release): 7.3.0 [skip ci]
# [7.3.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v7.2.0...v7.3.0) (2021-12-09)

### Features

* ๐ŸŽธ Configurable max pool size for JDBC data sources ([e5b406e](e5b406e853))
2021-12-09 09:13:32 +00:00
semantic-release-bot 560d4c8bdb chore(release): 7.2.0 [skip ci]
# [7.2.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v7.1.1...v7.2.0) (2021-12-08)

### Features

* ๐ŸŽธ Added automated bundling of .war file into release ([cd1118f](cd1118f1a0))
2021-12-08 08:47:53 +00:00
semantic-release-bot eac6876b09 chore(release): 7.1.1 [skip ci]
## [7.1.1](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v7.1.0...v7.1.1) (2021-12-08)

### Bug Fixes

* ๐Ÿ› Fix possible SQL exceptions ([b3bd9e9](b3bd9e94c7))
2021-12-08 07:01:36 +00:00
Dominik Frantisek Bucik b5e6207919
refactor: ๐Ÿ’ก Refactor stats filter 2021-12-08 07:53:27 +01:00
Dominik Frantisek Bucik b3bd9e94c7
fix: ๐Ÿ› Fix possible SQL exceptions
Fixed possible SQLExceptions by using the correct IDP_IDP and SP_ID
column names where it was missing. Also, removed usages of ResultSet
scrolling functionality, to prevent the SQL exceptions raised when
scrolling is not available.
2021-12-08 07:53:21 +01:00
semantic-release-bot c252db224c chore(release): 7.1.0 [skip ci]
# [7.1.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v7.0.0...v7.1.0) (2021-12-07)

### Bug Fixes

* DB inserts in statistics work with PostgreSQL ([b72eb8f](b72eb8fd8e))

### Features

* Added configurable ipdIdColumnName and spIdColumnName in statistics ([515f99b](515f99b255))
2021-12-07 06:40:37 +00:00
BaranekD 515f99b255 feat: Added configurable ipdIdColumnName and spIdColumnName in statistics 2021-12-07 07:28:39 +01:00
BaranekD b72eb8fd8e fix: DB inserts in statistics work with PostgreSQL 2021-12-07 06:56:50 +01:00
Dominik Frantisek Bucik fb6a43a1e6
refactor: ๐Ÿ’ก Upgrade mockito to v4 2021-12-06 14:44:27 +01:00
semantic-release-bot 09f3a691c6 chore(release): 7.0.0 [skip ci]
# [7.0.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v6.0.0...v7.0.0) (2021-12-06)

### Code Refactoring

* ๐Ÿ’ก Refactored GA4GH Passports and visas ([a94fd99](a94fd992dd))

### Features

* ๐ŸŽธ Implemented BBMRI-ERIC Ga4gh Passports and Visas ([141e6c8](141e6c8653))

### BREAKING CHANGES

* ๐Ÿงจ Ga4gh Claim source class for ELIXIR has been changed. Also, the
ElixirAccessTokenModifier class has been moved and renamed.
2021-12-06 13:19:06 +00:00
Dominik Frantiลกek Buฤรญk faa726087d
Merge pull request #70 from dBucik/bbmri_ga4gh_passports
Bbmri ga4gh passports
2021-12-06 14:17:28 +01:00
Dominik Frantisek Bucik e2f801e419
refactor: Further deps and fixes 2021-12-06 13:09:54 +01:00
Dominik Frantisek Bucik f646fe02e5
refactor: ๐Ÿ’ก Further deps updates 2021-12-06 11:30:21 +01:00
Dominik Frantisek Bucik b9f5c4de3c
refactor: ๐Ÿ’ก Refactor GA4GH even more 2021-12-06 11:27:48 +01:00
Dominik Frantisek Bucik 141e6c8653
feat: ๐ŸŽธ Implemented BBMRI-ERIC Ga4gh Passports and Visas
Implemented claim source for releasing GA4GH Passports and Visas in
BBMRI-ERIC version.
2021-12-06 11:27:48 +01:00
Dominik Frantisek Bucik a94fd992dd
refactor: ๐Ÿ’ก Refactored GA4GH Passports and visas
Refactored the GA4GH claim source and related things to be extensible
for other implementations.
Configuration changes:
Elixir GA4GH claim source class needs to be updated to:`custom.claim.[claimName].source.class=cz.muni.ics.oidc.server.ga4gh.ElixirGa4ghClaimSource`
Elixir Access token modifier has been moved and has to be configured as: `accessTokenClaimsModifier=cz.muni.ics.oidc.server.ga4gh.Ga4ghAccessTokenModifier`

BREAKING CHANGE: ๐Ÿงจ Ga4gh Claim source class for ELIXIR has been changed. Also, the
ElixirAccessTokenModifier class has been moved and renamed.
2021-12-06 11:27:48 +01:00
semantic-release-bot fe36808016 chore(release): 6.0.0 [skip ci]
# [6.0.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v5.0.1...v6.0.0) (2021-12-06)

### Code Refactoring

* ๐Ÿ’ก Drop support for java 8 ([4a0b63e](4a0b63ec0e))

### BREAKING CHANGES

* ๐Ÿงจ Dropped support for java 8
2021-12-06 10:26:43 +00:00
Dominik Frantisek Bucik 78513a9085
refactor: ๐Ÿ’ก some deps 2021-12-03 14:42:45 +01:00
Dominik Frantisek Bucik 171fc3cb3e
refactor: ๐Ÿ’ก Remove unused pom properties, replace jakarta api 2021-12-03 07:29:39 +01:00
Dominik Frantisek Bucik 2bd1fdf42e
refactor: ๐Ÿ’ก Removed unused deps 2021-12-02 19:58:03 +01:00
semantic-release-bot 11af234119 chore(release): 5.0.1 [skip ci]
## [5.0.1](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v5.0.0...v5.0.1) (2021-12-02)

### Bug Fixes

* ๐Ÿ› Fix fallbacking of locale to the code to prevent errors ([ceb01c7](ceb01c78e7))
2021-12-02 15:29:13 +00:00
Dominik Frantisek Bucik ceb01c78e7
fix: ๐Ÿ› Fix fallbacking of locale to the code to prevent errors 2021-12-02 16:22:03 +01:00
semantic-release-bot 1487e06e90 chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/CESNET/OpenID-Connect-Java-Spring-Server/compare/v4.0.1...v5.0.0) (2021-11-30)

### Code Refactoring

* ๐Ÿ’ก Refactored how translations are loaded and used ([665b45f](665b45fb41))

### BREAKING CHANGES

* Property `web.langs.customfiles.path` must point to the
RersourceBundle.
2021-11-30 12:45:31 +00:00
Dominik Frantisek Bucik 665b45fb41
refactor: ๐Ÿ’ก Refactored how translations are loaded and used
Refactor how translations are used and loaded. Property `web.langs.customfiles.path` must point to the
RersourceBundle, without the `_lang.properties" extensions. An examle
location, if we have files `/etc/props_en.properties` and
`/etc/props_cs.properties`, the correct value for the configuration
option is `web.langs.customfiles.path=/etc/props`.

BREAKING CHANGE: Property `web.langs.customfiles.path` must point to the
RersourceBundle.
2021-11-30 13:38:11 +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 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
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
Dominik Frantisek Bucik 4d3b07225c
fix: ๐Ÿ› Fixed missing ACRs code and device_code flows 2021-11-19 18:16:53 +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 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 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 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
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 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 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 Frantisek Bucik 0b68a720fb
refactor: ๐Ÿ’ก Disable metadata signature check 2021-11-09 11:13:36 +01:00