Commit Graph

63 Commits (d80673d8dee8958738a3dff162c2d7a484c43be6)

Author SHA1 Message Date
Dominik František Bučík 64c0d51059
fix: 🐛 Fix nullPointerexception in AuthProcFilterInit
when failed to initialize filter, we have returned null and this caused
NullPointerExceptions when running filters
2022-07-25 14:50:51 +02:00
Dominik František Bučík 8518a6adc0
Merge pull request #204 from dBucik/embl_lsaai
fix: 🐛 Fix displaying for consent for EMBL
2022-07-09 15:52:08 +02:00
Dominik František Bučík 2e0aaa772b
feat: IsEligible authproc filter and claim source 2022-07-08 11:02:15 +02:00
Dominik František Bučík 677943d4d6
refactor: Refactoring AuthProcFilters 2022-07-08 10:45:36 +02:00
Dominik František Bučík ef47df163f
fix: 🐛 Fix displaying for consent for EMBL
BREAKING CHANGE: 🧨 DB changes (see v10.0.0.sql files)
2022-07-01 16:49:11 +02:00
Dominik Frantisek Bucik d9d3034e55
feat: 🎸Claim sources for extracting AuthenticationContextClassRef and AuthnInstant 2022-06-03 13:01:20 +02:00
Dominik František Bučík d16c3c6368
fix: 🐛 Fix SAML Claim source when singleValue to use joiner 2022-06-03 12:42:03 +02:00
Dominik František Bučík 15cf3a95eb
feat: Added new claims sources
- Added Claim source for producing values based on attribute value
  set on the groups, where user is active member and the groups are
assigned to the resource in Perun
- Added Claim source for producing MinIO policies
2022-05-30 06:55:42 +02:00
Dominik Frantisek Bucik 585dbd82a5
feat: 🎸 Filter for logging authentication details 2022-04-22 12:45:15 +02:00
Dominik Frantisek Bucik cd1ce6fcc2
feat: LS AAI design
Added LS AAI design, dropped ELIXIR design. Extended client with
jurisdiction and accepted TOS

BREAKING CHANGE: requires database update (see migraiton script),
dropped ELIXIR theme
2022-04-13 11:23:00 +02:00
Dominik Frantisek Bucik 733597a473
fix: 🐛 Added missing return values when RPC disabled 2022-04-11 12:13:10 +02:00
Dominik Frantisek Bucik 3c034f4c54
fix: 🐛 Fix nullPointer in SamlAuthenticationDetailsStringCon 2022-04-11 09:27:40 +02:00
Dominik Frantisek Bucik c83ecc28e2
fix: 🐛 Fix storing SavedUserAuth
Caused SAML claim sources not to work in USERINFO and ID_TOKEN
2022-04-06 12:34:56 +02:00
Dominik Frantisek Bucik 0f73d88236
fix: 🐛 Remove RelayState from SAML details in SavedUserAuth 2022-04-04 08:45:23 +02:00
Dominik Frantisek Bucik 3ea2b82053
feat: 🎸 More user lookup methods
User can now be fetched using extLogin and extSource name, alternatively
by extLogin and static extSourceName (ext_idp), or by perunUserId.
2022-04-01 15:51:19 +02:00
Dominik Frantisek Bucik 76899b4477
fix: 🐛 Allow Group description to be empty string 2022-03-23 07:04:43 +01:00
Dominik Frantisek Bucik 93b8081c33
fix: 🐛 Fix missing execute statement in statistics filter 2022-02-17 08:50:27 +01:00
Dominik Frantisek Bucik 8872469c19
feat: 🎸 Display noAuthnContext message on login_failure 2022-02-09 08:34:15 +01:00
Dominik Frantisek Bucik 0e009d9cc2
refactor: 💡 cleanup 2022-01-27 12:20:05 +01:00
Dominik Frantisek Bucik c0db96df7d
refactor: 💡 Refactored device code auth 2022-01-27 12:01:59 +01:00
Dominik Frantisek Bucik cf358dc2dc
refactor: 💡 Refactored Perun filters as auth_proc filters 2022-01-27 11:04:15 +01:00
Dominik Frantisek Bucik cc4add710d
refactor: 💡 Refactor session invalidating 2022-01-27 10:27:13 +01:00
Dominik Frantisek Bucik d4bc19e2d8
fix: 🐛 Consider empty referer as external 2022-01-26 13:49:00 +01:00
Dominik Frantisek Bucik 93fc5577f5
fix: 🐛 Set email verified to true
Perun requires e-mail verification, so we can hardcode the value of
email_verified to "true"
2022-01-13 12:02:02 +01:00
Dominik Frantisek Bucik 5eace9fb21
fix: 🐛 Fix missing sub in ClaimSourceProduceContext
bug caused some claims to not generate correctly (i.e. GA4GH passports
could not call the remote APIs due to missing user identifier extracted
from "sub" claim)
2022-01-12 15:25:46 +01:00
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 1bf72b802a
fix: 🐛 Do not display remember me when prompt=consnet
Also updated text for checkbox
2022-01-10 08:47:48 +01:00
Dominik Frantisek Bucik e8b34f9079
refactor: 💡 refactored device code flow and filters 2022-01-06 07:55:06 +01:00
BaranekD 22527c9996
refactor: Merged some controllers 2022-01-05 15:28:25 +01:00
BaranekD 0e5d768138 refactor: Some login in sources/modifiers constructors moved to ClaimUtils 2021-12-14 08:47:48 +01:00
Dominik Frantisek Bucik bf227df26e
feat: 🎸 Configurable favicons
use `favicon=URL_POINTING_TO_FAVICON_FILE` property to set it for the
MitreID gui
2021-12-10 08:16:29 +01:00
Dominik Frantisek Bucik 31710bf5f5
fix: 🐛 Fix inserting and reading properties in the stats filter 2021-12-09 16:59:18 +01: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
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
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
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
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 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