[cas-user] Re: 6.1.1 JSON error with REST authn after update

2019-11-04 Thread Andy Ng
Hi all, Still don't know how to fix it, but I found something here: In CAS 5.3.14, see here: https://github.com/apereo/cas/blob/v5.3.14/core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/principal/SimplePrincipal.java#L50 SimplePrincipal attribute is: private

Re: [cas-user] Mongodb Authentication won't work if no attributes given in CAS 6.1.1

2019-11-04 Thread Andy Ng
Hi Jérôme, Yes that will be the best. Cheers! - Andy -- - 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

Re: [cas-user] Compiling Mod-auth-cas with external OpenSSL

2019-11-04 Thread Colin Ryan
David, You tweaked my brain. It was indeed a libcurl thing. While I had the right versions it obviously was using system OpenSSL so for those stuck in the future for what it's worth * Rebuilt my OpenSSL with shared support. * Was then able to build my own version of libcurl with

Re: [cas-user] Compiling Mod-auth-cas with external OpenSSL

2019-11-04 Thread David Hawes
On Mon, 4 Nov 2019 at 12:01, Colin Ryan wrote: > > David, > > Yes I've built Apache2 itself with SSL using the safe external OpenSSL as I"m > trying to use with the module. When I run the totally to stock ./configure > line I posted it gives me > > checking for openssl/ssl.h in /opt/aa... yes >

Re: [cas-user] mod_auth_cas and attributes

2019-11-04 Thread Ray Bon
Alberto, My apologies. I missed the part about cas protocol v2. Attribute release is available only with protocol v3 and saml 1.1 (and saml 2). Ray On Mon, 2019-11-04 at 13:17 +0100, Alberto Cabello Sánchez wrote: On Fri, 25 Oct 2019 18:08:13 + Ray Bon <

Re: [cas-user] Compiling Mod-auth-cas with external OpenSSL

2019-11-04 Thread Colin Ryan
David, Yes I've built Apache2 itself with SSL using the safe external OpenSSL as I"m trying to use with the module. When I run the totally to stock ./configure line I posted it gives me checking for openssl/ssl.h in /opt/aa... yes checking whether compiling and linking against OpenSSL

[cas-user] Re: 6.1.1 JSON error with REST authn after update

2019-11-04 Thread Chris M.
Hello! We have the same problem as Alex here. Thanks! Le jeudi 31 octobre 2019 13:52:52 UTC-4, Alex.B. a écrit : > > Hi, > > We updated CAS from 5.3.14 to 6.1.1 and the REST authn doesn't work > anymore. Nothing changed on the rest service side (the same JSON is > returned to CAS). > > *We

Re: [cas-user] Mongodb Authentication won't work if no attributes given in CAS 6.1.1

2019-11-04 Thread Jérôme LELEU
Hi, I saw his answer. I understand the concern and the need for consistency in CAS, but the same is worth for pac4j as well: I could change the default behavior in pac4j, but this would impact users just to accommodate with the consistency of CAS. My feeling is that the default behavior of pac4j

Re: [cas-user] mod_auth_cas and attributes

2019-11-04 Thread Alberto Cabello Sánchez
On Fri, 25 Oct 2019 18:08:13 + Ray Bon wrote: > Alberto, > > To be sure CAS is releasing the attributes: > > > name="org.apereo.cas.services.AbstractRegisteredServiceAttributeReleasePolicy" > level="debug"/> Thanks, Ray. It seems to be right: DEBUG

Re: [cas-user] Mongodb Authentication won't work if no attributes given in CAS 6.1.1

2019-11-04 Thread Andy Ng
Hi Jérôme, PR was declined because Moayyed considered this behavior as something need to be fixed in pac4j, see this: Since defining attributes is necessary for pac4j to work when using MongoDB Authentication, the attributes properties is necessary here. However, this behavior of requiring