Re: [cas-user] logging cas validation responses?

2021-07-19 Thread Ray Bon
Chris,

What kind of events are you planning to capture?

If you need to process logs, A third party tool may be more appropriate.

Ray

On Thu, 2021-07-15 at 08:49 -0600, Chris Kell wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

I'm getting ready to tackle logging for my application including CAS, and I was 
planning on simply adding in a logging class to the CAS build that would stream 
out events to a file in a csv format.  Is there anything getting in the way of 
just adding a class like that?

On Wed, Jul 14, 2021 at 2:11 PM Baron Fujimoto 
mailto:ba...@hawaii.edu>> wrote:
Unfortunately, that doesn't seem to do it either. I was already able to get the 
set of attributes to be released logged, and org.apache.http only seems to be 
showing me a connection to Duo for a status check. But still no XML cas 
response itself. We're not using an included servlet container, but an external 
Tomcat where we deploy the cas.war file.

On Wed, Jul 14, 2021 at 9:11 AM Ray Bon mailto:r...@uvic.ca>> 
wrote:
Baron,

You may be able to get some data from these loggers:








Ray

On Wed, 2021-07-14 at 08:02 -1000, Baron Fujimoto wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Can CAS logging be configured to log validation responses as they would be sent 
to the client? E.g., something like this for /p3/serviceValidate:

  http://www.yale.edu/tp/cas;>

  username
  
John
Doe
Mr.
j...@example.org
staff
faculty
  
  PGTIOU-84678-8a9d...

  

This doesn't seem to do it for our CAS 5.0:


I'm trying to troubleshoot one of our clients wrestling with their OnBase 
configuration. They are unable to get their required username attribute, and I 
can see from our logs they're using /p3/serviceValidate. Some of the logical 
looking attribute mappings in their config haven't been successful. I'm hoping 
if we can provide an example of an actual response to their /p3/serviceValidate 
this will provide clarification, or at least solid data they can use for a 
support ticket with the vendor.

--
Baron Fujimoto mailto:ba...@hawaii.edu>> :: UH Information 
Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum

--
- 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/205a5b6c5dd06984c83a21807c977ba6f2d84a07.camel%40uvic.ca.



--
Baron Fujimoto mailto:ba...@hawaii.edu>> :: UH Information 
Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum

--
- 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/CAAjLUL2P6nRSdAFK38%3DpXKgQV0T9v2NO_9viZbyMCjEDqMsy2A%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/59248258e3cfdf5b3c5f1007e52323df633602e9.camel%40uvic.ca.


Re: [cas-user] logging cas validation responses?

2021-07-15 Thread Chris Kell
I'm getting ready to tackle logging for my application including CAS, and I
was planning on simply adding in a logging class to the CAS build that
would stream out events to a file in a csv format.  Is there anything
getting in the way of just adding a class like that?

On Wed, Jul 14, 2021 at 2:11 PM Baron Fujimoto  wrote:

> Unfortunately, that doesn't seem to do it either. I was already able to
> get the set of attributes to be released logged, and org.apache.http only
> seems to be showing me a connection to Duo for a status check. But still no
> XML cas response itself. We're not using an included servlet container, but
> an external Tomcat where we deploy the cas.war file.
>
> On Wed, Jul 14, 2021 at 9:11 AM Ray Bon  wrote:
>
>> Baron,
>>
>> You may be able to get some data from these loggers:
>>
>> 
>> > name="org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy"
>> level="debug"/>
>> 
>> > level="debug" />
>> 
>> 
>>
>> Ray
>>
>> On Wed, 2021-07-14 at 08:02 -1000, Baron Fujimoto wrote:
>>
>> Notice: This message was sent from outside the University of Victoria
>> email system. Please be cautious with links and sensitive information.
>>
>> Can CAS logging be configured to log validation responses as they would
>> be sent to the client? E.g., something like this for /p3/serviceValidate:
>>
>>   http://www.yale.edu/tp/cas;>
>> 
>>   username
>>   
>> John
>> Doe
>> Mr.
>> j...@example.org
>> staff
>> faculty
>>   
>>
>> PGTIOU-84678-8a9d...
>> 
>>   
>>
>> This doesn't seem to do it for our CAS 5.0:
>> > includeLocation="true">
>>
>> I'm trying to troubleshoot one of our clients wrestling with their OnBase
>> configuration. They are unable to get their required username attribute,
>> and I can see from our logs they're using /p3/serviceValidate. Some of the
>> logical looking attribute mappings in their config haven't been successful.
>> I'm hoping if we can provide an example of an actual response to
>> their /p3/serviceValidate this will provide clarification, or at least
>> solid data they can use for a support ticket with the vendor.
>>
>> --
>> Baron Fujimoto  :: UH Information Technology Services
>> minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
>>
>> --
>> - 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/205a5b6c5dd06984c83a21807c977ba6f2d84a07.camel%40uvic.ca
>> 
>> .
>>
>
>
> --
> Baron Fujimoto  :: UH Information Technology Services
> minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
>
> --
> - 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/CAAjLUL2P6nRSdAFK38%3DpXKgQV0T9v2NO_9viZbyMCjEDqMsy2A%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/CAObtmsRQXQYPwUoXs4UeuDkmc24a0D3meH_%3DToF0fjrxRBtELQ%40mail.gmail.com.


Re: [cas-user] logging cas validation responses?

2021-07-14 Thread Baron Fujimoto
Unfortunately, that doesn't seem to do it either. I was already able to get
the set of attributes to be released logged, and org.apache.http only seems
to be showing me a connection to Duo for a status check. But still no XML
cas response itself. We're not using an included servlet container, but an
external Tomcat where we deploy the cas.war file.

On Wed, Jul 14, 2021 at 9:11 AM Ray Bon  wrote:

> Baron,
>
> You may be able to get some data from these loggers:
>
> 
>  name="org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy"
> level="debug"/>
> 
>  level="debug" />
> 
> 
>
> Ray
>
> On Wed, 2021-07-14 at 08:02 -1000, Baron Fujimoto wrote:
>
> Notice: This message was sent from outside the University of Victoria
> email system. Please be cautious with links and sensitive information.
>
> Can CAS logging be configured to log validation responses as they would be
> sent to the client? E.g., something like this for /p3/serviceValidate:
>
>   http://www.yale.edu/tp/cas;>
> 
>   username
>   
> John
> Doe
> Mr.
> j...@example.org
> staff
> faculty
>   
>
> PGTIOU-84678-8a9d...
> 
>   
>
> This doesn't seem to do it for our CAS 5.0:
>  includeLocation="true">
>
> I'm trying to troubleshoot one of our clients wrestling with their OnBase
> configuration. They are unable to get their required username attribute,
> and I can see from our logs they're using /p3/serviceValidate. Some of the
> logical looking attribute mappings in their config haven't been successful.
> I'm hoping if we can provide an example of an actual response to
> their /p3/serviceValidate this will provide clarification, or at least
> solid data they can use for a support ticket with the vendor.
>
> --
> Baron Fujimoto  :: UH Information Technology Services
> minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
>
> --
> - 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/205a5b6c5dd06984c83a21807c977ba6f2d84a07.camel%40uvic.ca
> 
> .
>


-- 
Baron Fujimoto  :: UH Information Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum

-- 
- 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/CAAjLUL2P6nRSdAFK38%3DpXKgQV0T9v2NO_9viZbyMCjEDqMsy2A%40mail.gmail.com.


Re: [cas-user] logging cas validation responses?

2021-07-14 Thread Ray Bon
Baron,

You may be able to get some data from these loggers:








Ray

On Wed, 2021-07-14 at 08:02 -1000, Baron Fujimoto wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

Can CAS logging be configured to log validation responses as they would be sent 
to the client? E.g., something like this for /p3/serviceValidate:

  http://www.yale.edu/tp/cas;>

  username
  
John
Doe
Mr.
j...@example.org
staff
faculty
  
  PGTIOU-84678-8a9d...

  

This doesn't seem to do it for our CAS 5.0:


I'm trying to troubleshoot one of our clients wrestling with their OnBase 
configuration. They are unable to get their required username attribute, and I 
can see from our logs they're using /p3/serviceValidate. Some of the logical 
looking attribute mappings in their config haven't been successful. I'm hoping 
if we can provide an example of an actual response to their /p3/serviceValidate 
this will provide clarification, or at least solid data they can use for a 
support ticket with the vendor.

--
Baron Fujimoto mailto:ba...@hawaii.edu>> :: UH Information 
Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum

-- 
- 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/205a5b6c5dd06984c83a21807c977ba6f2d84a07.camel%40uvic.ca.


[cas-user] logging cas validation responses?

2021-07-14 Thread Baron Fujimoto
Can CAS logging be configured to log validation responses as they would be
sent to the client? E.g., something like this for /p3/serviceValidate:

  http://www.yale.edu/tp/cas;>

  username
  
John
Doe
Mr.
j...@example.org
staff
faculty
  

PGTIOU-84678-8a9d...

  

This doesn't seem to do it for our CAS 5.0:


I'm trying to troubleshoot one of our clients wrestling with their OnBase
configuration. They are unable to get their required username attribute,
and I can see from our logs they're using /p3/serviceValidate. Some of the
logical looking attribute mappings in their config haven't been successful.
I'm hoping if we can provide an example of an actual response to
their /p3/serviceValidate this will provide clarification, or at least
solid data they can use for a support ticket with the vendor.

-- 
Baron Fujimoto  :: UH Information Technology Services
minutas cantorum, minutas balorum, minutas carboratum desendus pantorum

-- 
- 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/CAAjLUL3MoJwkJj8LePz%3Dtp0thoHBzTjxFmn05pM0wGe-ErKRww%40mail.gmail.com.