scc-digitalhub / AAC

Apache License 2.0
4 stars 7 forks source link

access custom attribute via SAML SPID with memory hangs AAC #280

Open gianpaolo-tndigit opened 2 years ago

gianpaolo-tndigit commented 2 years ago

configuration: in IDP SAML for SPID add this mapping attributes['fiscalCode'] = attributes['CodiceFiscale'];
in attribute set add a set with field key fiscalCode in mapping set enable Repository in client (with the personal set API set) try test and get the token with fiscalCode attribute

if you try the same configuration with in mapping set "memory" enabled AAC hangs.

log-memory-attribute.txt

thomaschiozzi-tndigit commented 10 months ago

It appears that Memory persistence is no longer supported as suggested by this commented out line of code https://github.com/scc-digitalhub/AAC/blob/17e843f088345d16ea24f9d9d96453f63bfa619f/src/main/java/it/smartcommunitylab/aac/model/PersistenceMode.java#L24

If this is the case, then the issue should be closed