Logging relyingPartyId (service provider) for authentication failures
Cantor, Scott
cantor.2 at osu.edu
Wed Mar 1 16:39:36 EST 2017
On 3/1/17, 4:20 PM, "users on behalf of MacDonald, Michael J." <users-bounces at shibboleth.net on behalf of Michael.MacDonald at tufts.edu> wrote:
> Is there an easy way to append the relyingPartyId / ServiceProvider name for authentication failures in Shibboleth in
> either idp-audit.log or idp-proces.log?
No, "failures" in authentication are localized inside a login flow and just aren't visible to the rest of the system. A user just sits on a page and fails until they stop and the system never gets to a state where auditing happens.
Auditing the "event" of a request from a service is something I considered but it eventually got merged into the main audit record at the end and the problem is that it just never happens when "authentication fails", the request just gets abandoned. It might be interesting to see if there's a way to catch that timeout but it would happen long after the user was gone, nowhere near the actual failures in time.
Brute force there can probably be logging of particular information added to the failure messages but it would be arbitrary what got included. What might make sense is to consider the possible addition of more MDC variables based on important state. That might not be that difficult to add, though what I'd probably want to do is just make it extensible via script so you'd be able to just sketch up the addition of anything you wanted at runtime.
-- Scott
More information about the users
mailing list