Re: [cas-user] CAS 5 alternativeIpAddressHeader

2017-12-14 Thread Adam Causey
I got this working. The CAS documentation implies that X-Forwarded-For is
the default value for the 'cas.audit.alternateClientAddrHeaderName'
property, which it is not. You have to specifically define this in your
properties file and set it to X-Forwarded-For.  The documentation could be
clearer to indicate that this is not a default value.

Adam

On Thu, Dec 14, 2017 at 7:52 AM, Adam Causey <apcau...@vcu.edu> wrote:

> Thanks. I saw that but am not getting back the IPs. It's probably another
> configuration issue on the networking side.
>
> Adam
>
> On Wed, Dec 13, 2017 at 5:35 PM, Misagh Moayyed <mmoay...@unicon.net>
> wrote:
>
>> https://apereo.github.io/cas/5.1.x/installation/Configuratio
>> n-Properties.html
>> <https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html#audits>
>>
>> Look up Audits.
>>
>> --Misagh
>>
>> --
>>
>> *From: *"Adam Causey" <apcau...@vcu.edu>
>> *To: *cas-user@apereo.org
>> *Sent: *Wednesday, December 13, 2017 1:45:55 PM
>> *Subject: *[cas-user] CAS 5 alternativeIpAddressHeader
>>
>> We are upgrading from CAS 3.x to CAS 5.1.4 . Currently we log the
>> originating IP (X-Forwarded-For) with this configuration in the web.xml in
>> CAS 3:
>>
>> 
>> CAS Client Info Logging Filter
>> com.github.inspe
>> ktr.common.web.ClientInfoThreadLocalFilter
>> 
>> alternativeIpAddre
>> ssHeader
>> X-Forwarded-For
>> 
>> 
>>
>>
>> How can I achieve the same thing in CAS 5.1.4?
>>
>>
>> Thank you,
>> Adam
>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/CAN6MV5PjAhhWJMwZjPjT-_Hp2fjzSAg1n
>> H%2BsgWQ6A99mcqny8A%40mail.gmail.com
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PjAhhWJMwZjPjT-_Hp2fjzSAg1nH%2BsgWQ6A99mcqny8A%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To view this discussion on the web visit https://groups.google.com/a/ap
>> ereo.org/d/msgid/cas-user/1291951227.9872272.1513204548944.
>> JavaMail.zimbra%40unicon.net
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1291951227.9872272.1513204548944.JavaMail.zimbra%40unicon.net?utm_medium=email_source=footer>
>> .
>>
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5N0Ak--Pu4HQzsD8LFz7UktAtpBN1J30-nHZoENbtjwbQ%40mail.gmail.com.


Re: [cas-user] CAS 5 alternativeIpAddressHeader

2017-12-14 Thread Adam Causey
Thanks. I saw that but am not getting back the IPs. It's probably another
configuration issue on the networking side.

Adam

On Wed, Dec 13, 2017 at 5:35 PM, Misagh Moayyed <mmoay...@unicon.net> wrote:

> https://apereo.github.io/cas/5.1.x/installation/
> Configuration-Properties.html
> <https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html#audits>
>
> Look up Audits.
>
> --Misagh
>
> --
>
> *From: *"Adam Causey" <apcau...@vcu.edu>
> *To: *cas-user@apereo.org
> *Sent: *Wednesday, December 13, 2017 1:45:55 PM
> *Subject: *[cas-user] CAS 5 alternativeIpAddressHeader
>
> We are upgrading from CAS 3.x to CAS 5.1.4 . Currently we log the
> originating IP (X-Forwarded-For) with this configuration in the web.xml in
> CAS 3:
>
> 
> CAS Client Info Logging Filter
> com.github.inspektr.common.web.
> ClientInfoThreadLocalFilter
> 
> alternativeIpAddressHeader param-name>
> X-Forwarded-For
> 
> 
>
>
> How can I achieve the same thing in CAS 5.1.4?
>
>
> Thank you,
> Adam
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/CAN6MV5PjAhhWJMwZjPjT-_Hp2fjzSAg1nH%
> 2BsgWQ6A99mcqny8A%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PjAhhWJMwZjPjT-_Hp2fjzSAg1nH%2BsgWQ6A99mcqny8A%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/1291951227.9872272.
> 1513204548944.JavaMail.zimbra%40unicon.net
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/1291951227.9872272.1513204548944.JavaMail.zimbra%40unicon.net?utm_medium=email_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PM6%2BnKW8uC__hAo8QRnMAHabCYkckuUguQHNeRq4Qi9A%40mail.gmail.com.


Re: [cas-user] CAS 5 alternativeIpAddressHeader

2017-12-13 Thread Misagh Moayyed
https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html 

Look up Audits. 

--Misagh 

> From: "Adam Causey" <apcau...@vcu.edu>
> To: cas-user@apereo.org
> Sent: Wednesday, December 13, 2017 1:45:55 PM
> Subject: [cas-user] CAS 5 alternativeIpAddressHeader

> We are upgrading from CAS 3.x to CAS 5.1.4 . Currently we log the originating 
> IP
> (X-Forwarded-For) with this configuration in the web.xml in CAS 3:

> 
> CAS Client Info Logging Filter
> com.github.inspektr.common.web.ClientInfoThreadLocalFilter
> 
> alternativeIpAddressHeader
> X-Forwarded-For
> 
> 

> How can I achieve the same thing in CAS 5.1.4?

> Thank you,
> Adam

> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups "CAS
> Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email
> to cas-user+unsubscr...@apereo.org .
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PjAhhWJMwZjPjT-_Hp2fjzSAg1nH%2BsgWQ6A99mcqny8A%40mail.gmail.com
> .

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/1291951227.9872272.1513204548944.JavaMail.zimbra%40unicon.net.


[cas-user] CAS 5 alternativeIpAddressHeader

2017-12-13 Thread Adam Causey
We are upgrading from CAS 3.x to CAS 5.1.4 . Currently we log the
originating IP (X-Forwarded-For) with this configuration in the web.xml in
CAS 3:


CAS Client Info Logging Filter

com.github.inspektr.common.web.ClientInfoThreadLocalFilter

alternativeIpAddressHeader
X-Forwarded-For




How can I achieve the same thing in CAS 5.1.4?


Thank you,
Adam

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAN6MV5PjAhhWJMwZjPjT-_Hp2fjzSAg1nH%2BsgWQ6A99mcqny8A%40mail.gmail.com.