Commit Graph

58 Commits (fc02c8f79c9b034ab8f2eff929f183f52bb120ed)

Author SHA1 Message Date
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
Dominik Frantisek Bucik 4d3b07225c
fix: ๐Ÿ› Fixed missing ACRs code and device_code flows 2021-11-19 18:16:53 +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
Dominik Frantisek Bucik ebd1459ba3
feat: ๐ŸŽธ AARC_IDP_HINTING implemented 2021-11-16 07:22:38 +01:00
Dominik Frantisek Bucik 2b94aff58e
refactor: ๐Ÿ’ก Code inspection by IDEA 2021-11-15 11:20:39 +01:00