[cas-user] Re: CAS 5.1.x and 5.2.x failing when authenticating agains MySQL DB

2017-09-15 Thread Nona M
Hi, Were you able to solve this? I am getting the same error. Thx On Thursday, August 17, 2017 at 9:31:04 AM UTC-4, Szymon Stuglik wrote: > > Hello everybody, > > Since 4 days I'm trying to configure CAS to work with MySQL DB for > authentication. > I've added required dependencies (jdbc drive

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-15 Thread Ray Bon
Jérémie You can specify the attributes to be released on a per service basis. Add something like this to you service definition: "attributeReleasePolicy" : {"@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy" , "allowedAttributes" : { "@class" : "java.util.Tre

Re: [cas-user] cas-gradle-verlay-template not building suddenly.

2017-09-15 Thread Toby Archer
*notices change on github* Cheers. On Thursday, September 14, 2017 at 4:30:30 PM UTC-5, Misagh Moayyed wrote: > > Switch to 5.1.4. > > -- > > *From: *"Toby Archer" > > *To: *"CAS Community" > > *Sent: *Thursday, September 14, 2017 2:27:43 PM > *Subject: *[cas-user] cas-

Re: [cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-15 Thread David Curry
Personally I would use the second option, as it gives you more flexibility. If you'd like a step-by-step example of setting up attribute release, see here: https://dacurry-tns.github.io/deploying-apereo-cas/building_server_ldap_resolution-release_overview.html (The above is not official documenta

[cas-user] Re: 5.1.x - How to configure CAS to transfert some values from different attribut of LDAP

2017-09-15 Thread Jérémie Pilette
Is there somebody who can help me please ? Thank you, Jérémie Le jeudi 7 septembre 2017 15:50:52 UTC+2, Jérémie Pilette a écrit : > > Hello, > > I would like to configure my cas.properties in order to have the > possibility to transfert some values from LDAP to a service (Ypareo for > example)

[cas-user] Re: Trouble configuring SPNEGO

2017-09-15 Thread Fabio Martelli
Il 12/09/2017 16:54, Fabio Martelli ha scritto: Hi All, is there someone that can address me with this issue? I still have trouble with kerberos authentication. Why I can authenticate with a simple/sample java client but with Apereo CAS? Hi All, I solved my issue: it was just a misconfiguratio

[cas-user] Oauth profile response structure

2017-09-15 Thread Peter Smith
Hi All, I have managed to get CAS 5.1.3 up and running. I am successfully authenticating with Active Directory. Now trying to get Oauth working with Grafana. It's working up to the point where Grafana queries /cas/oauth2.0/profile for the profile. The error in Grafana: Error getting user in

[cas-user] Re: Migrating CAS 4.x to 5.1 - Problem with jdbc attribute mapping

2017-09-15 Thread Andy Ng
Hi Sebastian, >From dev of CAS, here's is an tutorial on how to set up jdbc in CAS 5.1.x: https://apereo.github.io/2017/02/22/cas51-dbauthn-tutorial/ Just for more reference, here is my settings: cas.authn.jdbc.query[0].sql=SELECT * FROM test_users WHERE uid=? cas.authn.jdbc.query[0].url=jdbc:my

[cas-user] Migrating CAS 4.x to 5.1 - Problem with jdbc attribute mapping

2017-09-15 Thread SebastianU
Hello, I'stuck by migrating the cas configuration from 4.x version to 5.1. In 4.x I got the following configuration for the attributes: https://**"/>

RE: [cas-user] Re: Secure endpoints with LDAP - getting "You are not authorized to be authorized" error

2017-09-15 Thread Doug Campbell
Thanks Andy. Normal CAS authentications are working fine with the service definition that I have and the service redirects are working as you indicated. I don’t think there are any service redirects (or any services that need to be defined) for the spring security method. At least if I s

[cas-user] Re: Secure endpoints with LDAP - getting "You are not authorized to be authorized" error

2017-09-15 Thread Andy Ng
I can't help to solve your problem, but I can help you reduce your scope. In the case of normal login. If you want to trigger the service defined, you need to do this: https:// cas.developer.local/cas/ login?service=