[MGNLSSO-287] Able to not defining any authorizationGenerators in SSO Microprofile config Created: 26/May/23  Updated: 26/May/23

Status: Open
Project: Single Sign On
Component/s: None
Affects Version/s: saas
Fix Version/s: saas

Type: Improvement Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLSSO-270 Custom authorizationGenerators config... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: SSO maintenance
Team: AdminX

 Description   

Context

This aims for an proper way to make "authorizationGenerators" optional in SSO Microprofile config.

There is a workaround implemented here: https://git.magnolia-cms.com/projects/ENTERPRISE/repos/magnolia-sso/browse/magnolia-sso/src/main/resources/META-INF/microprofile-config.properties#1-2

Dev notes

Currently, it's not possible to use Optional<List<AuthorizationGeneratorConfig>> in SsoMpConfig

Might be we have to implement a Custom converter to handle empty list in SSO module or Core, this needs to check.


Generated at Mon Feb 12 10:52:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.