Idp v3 - xforwardedfor and date
Ginger, Anthony
AGinger at miracosta.edu
Tue Jul 12 20:06:09 EDT 2016
Did you get %X{req.xForwardedFor} working? I gave up, switched to tomcat from jetty and ended up using tomcats remoteipvalve and %mdc{idp.remote_addr} in logback.xml.
Very curious as to your results?
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Ramaiah, Vanna G.
Sent: Tuesday, July 12, 2016 2:49 PM
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: Idp v3 - xforwardedfor and date
%d{ISO8601} worked.
Thanks!
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Tuesday, July 12, 2016 5:32 PM
To: Shib Users
Subject: Re: Idp v3 - xforwardedfor and date
On 7/12/16, 4:49 PM, "users on behalf of Ramaiah, Vanna G." <users-bounces at shibboleth.net on behalf of ramaiah at musc.edu> wrote:
> This is what I have in logback.xml.
> <Pattern>%date{HH:mm:ss.SSS}- %X{req.xForwardedFor} -%msg%n</Pattern>
%date is AFAIK built into logback. So you can't have that in the file that's being used. Or perhaps that date format is invalid in some way and it's being ignored.
> I also modified web.xml in /var/lib to haveMDCInsertingServletFilter.
I don't know what that is, but it's nothing to do with Shibboleth or anything we support. We have an MDC servlet filter but it isn't called that (ours is called SL4JMDCServletFilter). And there is no web.xml in /var/lib either, or any /var/lib at all.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list