AW: IDP 4.3.1 login.vm view - error messages?

Käfer Thomas thomas.kaefer at fh-campuswien.ac.at
Tue May 2 16:55:37 UTC 2023


Hello Scott, thank you for your reply!

How can I emit ClassifiedErrors from Java, or how can I map my Exception to ClassifiedErrors afterwards?

At the moment, on a failed login attempt my Java code does:
   throw new FailedLoginException(message);

Should I adapt that or is there some config file where I can map that into a ClassifiedError Event?

Thank you,
kind regards,
Thomas Käfer
FH Campus Wien

________________________________
Von: Cantor, Scott <cantor.2 at osu.edu>
Gesendet: Dienstag, 2. Mai 2023 18:48
An: Käfer Thomas <thomas.kaefer at fh-campuswien.ac.at>; Shib Users <users at shibboleth.net>
Betreff: Re: IDP 4.3.1 login.vm view - error messages?

>  Since our custom error messages are transported using Exceptions, we first
> process those

That's something you'd really want to change, get them mapped to events and then it just works like always, save that yes, if you run another flow first and it sets a classified event, then it's going to be there.

But in the aggregate, the point was, yes, that template is there so you can handle everything as you want or need to.

There's really no way to "handle" NoCredentials though since if it's being filtered out, you won't handle it when it actually happens. Normally that's not a big deal since it would mean the user never entered anything in one of the fields and you could handle that with javascript too.

-- Scott



Informationen zum Datenschutz: www.fh-campuswien.ac.at/datenschutzerklaerung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20230502/8a8b91b5/attachment.htm>


More information about the users mailing list