Re: [cas-user] Re: Issues getting GoogleApps working on 5.3.6

2018-12-13 Thread Tepe, Dirk
Fortunately, Miami University is in a position to facilitate addressing
this issue. Thanks to the efforts of Unicon (https://www.unicon.net/) the
latest snapshot build of 5.3.7 appears to address this issue. If anyone
else is following this and can help test the Google Apps integration,
please do so and update this thread.

-dirk

On Thu, Dec 13, 2018 at 12:32 PM Tepe, Dirk  wrote:

> I just reproduced the broken behavior using CAS 5.3.5 and 5.3.7-SNAPSHOT.
> We are preparing to upgrade our CAS server but have not tested Google Apps
> since our initial work with 5.2.x, when it did work correctly IIRC.
>
> We are going to pursue pretty aggressively because it has major
> consequences for us.
>
> Thank you for reporting this and your work to identify the cause.
>
> -dirk
>
> On Thu, Dec 13, 2018 at 9:49 AM JF Poulin  wrote:
>
>> I patched the CompressionUtils file and replaced the inflate function
>> with the one from 5.1.x and now GoogleApps is working again.
>>
>> Was there a reason the function was re-written in the first place other
>> than trying to make it more efficient? I'm thinking of submitting a pull
>> request to revert the code for inflate back.
>>
>> On Wednesday, December 12, 2018 at 3:48:39 PM UTC-5, JF Poulin wrote:
>>>
>>> After a lot of debugging, I have discovered that the XML is not being
>>> properly inflated in AbstractSaml20ObjectBuilder at line 442:
>>> CompressionUtils.inflate(decodedBytes);
>>>
>>> java is complaining about the zip header
>>>
>>> --
>> - 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/bb7038da-ad87-499d-b68b-1accc0b7791e%40apereo.org
>> 
>> .
>>
>

-- 
- 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/CAJ%3D0EZxfMJZH%3DuaJKhfnTJBEATfR-WBJp54QnnwQOQPFbdZ%2BJw%40mail.gmail.com.


Re: [cas-user] Re: Issues getting GoogleApps working on 5.3.6

2018-12-13 Thread Tepe, Dirk
I just reproduced the broken behavior using CAS 5.3.5 and 5.3.7-SNAPSHOT.
We are preparing to upgrade our CAS server but have not tested Google Apps
since our initial work with 5.2.x, when it did work correctly IIRC.

We are going to pursue pretty aggressively because it has major
consequences for us.

Thank you for reporting this and your work to identify the cause.

-dirk

On Thu, Dec 13, 2018 at 9:49 AM JF Poulin  wrote:

> I patched the CompressionUtils file and replaced the inflate function with
> the one from 5.1.x and now GoogleApps is working again.
>
> Was there a reason the function was re-written in the first place other
> than trying to make it more efficient? I'm thinking of submitting a pull
> request to revert the code for inflate back.
>
> On Wednesday, December 12, 2018 at 3:48:39 PM UTC-5, JF Poulin wrote:
>>
>> After a lot of debugging, I have discovered that the XML is not being
>> properly inflated in AbstractSaml20ObjectBuilder at line 442:
>> CompressionUtils.inflate(decodedBytes);
>>
>> java is complaining about the zip header
>>
>> --
> - 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/bb7038da-ad87-499d-b68b-1accc0b7791e%40apereo.org
> 
> .
>

-- 
- 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/CAJ%3D0EZxZ95M_z8was2uFrHMEie1EMVtBn8-Nidq_%2BACmLOOQZw%40mail.gmail.com.


[cas-user] Re: Issues getting GoogleApps working on 5.3.6

2018-12-13 Thread JF Poulin
I patched the CompressionUtils file and replaced the inflate function with 
the one from 5.1.x and now GoogleApps is working again. 

Was there a reason the function was re-written in the first place other 
than trying to make it more efficient? I'm thinking of submitting a pull 
request to revert the code for inflate back.

On Wednesday, December 12, 2018 at 3:48:39 PM UTC-5, JF Poulin wrote:
>
> After a lot of debugging, I have discovered that the XML is not being 
> properly inflated in AbstractSaml20ObjectBuilder at line 442: 
> CompressionUtils.inflate(decodedBytes);
>
> java is complaining about the zip header
>
>

-- 
- 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/bb7038da-ad87-499d-b68b-1accc0b7791e%40apereo.org.


[cas-user] Re: Issues getting GoogleApps working on 5.3.6

2018-12-12 Thread JF Poulin
After a lot of debugging, I have discovered that the XML is not being 
properly inflated in AbstractSaml20ObjectBuilder at line 442: 
CompressionUtils.inflate(decodedBytes);

java is complaining about the zip header

-- 
- 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/6d052ef5-d24c-4e17-9906-e7f1933b9480%40apereo.org.


[cas-user] Re: Issues getting GoogleApps working on 5.3.6

2018-12-12 Thread JF Poulin
I've traced the problem to the SamlServiceFactory class. It seems as though 
service and requestBody are always null. Trying to debug the issue.

-- 
- 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/b76d96d3-f4c5-41e2-82c8-e963983a9e43%40apereo.org.