Hello everybody,
We have a specific requirement (for the PSD2 implementation) where we would like to store information about as user before this user is authenticated.
For that we tried enabling the creation of session for unauthenticated users via this stanza:
# Should sessions be established for access to unprotected resources? This
# configuration item is useful when a consistent session identifier is
# required for clients as they transition from unauthenticated to
# authenticated.
create-unauth-sessions = yes
We then implemented an "EAI" api that we declared in the eai-trigger-urls.
That api returned "am-eai-xattrs" headers specifying some http headers containing the attributes that we would like to store in the session, so they are available in the STSUU.
We weren't able to achieve the goal. It seems that webseal totaly ignores the am-eai-xattrs for an unauth session, not taking the header into account and not filtering it (the am-eai-xattrs header was available in the browser).
We also tried specifying an "am-eai-(ext-)user-id" with different values (real value, unauthenticated, nobody, ...). In that case the attributes are stored in the session, but the user is considered logged in and no authentication mechanism is triggered.
Has anyone had any experience with this kind of scenario where we want to store attributes in an unauthenticated session and keep them available after the user authenticates itself ?
------------------------------
André Leruitte
------------------------------