On 10/6/22 22:00, 'Chris Durham' via CAS Community wrote:
> Hi,
>
Hi!
If we necro this, lets keep it shambling..:) While I did not have the
issue in delegated auth, it might have the same solution.
> Now I note that Misagh said map[[empty]] issues weren't an issue but
> were a symptom of another problem, but doesn't anyone have any
> suggestions as to how to debug what that "other problem" might be when
> the only change is between where the Ticket Registry is stored.
>
I had the exact same problem (map[[empty]]), but in the consent flow.
After not getting any proper error message, i found out that the
attributes that are pulled from my directory are all Lists, even if they
can only hold a single value.
Now in the service that failed the consent with that "map[[empty]]"
exception, i introduced a derived attribute via a groovy script. Since I
was setting an attribute that only can hold a single value, I set it as
a non-List string.
The code that checks the attributes in the consent flow apparently
blindly assumes that it gets a collection within the attribute map. CAS
6.1.x did not behave like that.
Once I made sure, all derived attributes are Lists before the login
flow/consent continued, it worked.
Maybe my problem could point to your problem...maybe not.
The error message was not very clear, it took me a while to even figure
out what the hell was wrong.
Best regards,
Sven Specker
--
__________________________________________________________________
*** Sven Specker -- University of Frankfurt Computing Center ***
*********** UNIX System Administration (Auth/IDM) ****************
*****
spe...@rz.uni-frankfurt.de [Phone
(+49)-69-798-15188] *****
******************************************************************
__________________________________________________________________
Johann Wolfgang Goethe Universitaet
- Hochschulrechenzentrum -
Theodor W. Adorno-Platz 1 (PA-1P16)
D-60323 Frankfurt/Main
__________________________________________________________________
______________ TeX-users do it in {groups}________________________