[cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-25 Thread Andy Ng
I have dig deep into my archieve and see an PHP example of such REST API. See if that helps you... https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl

[cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-24 Thread Fernando Gómez
*Hello Guys!!!* *A couple of questions if you can help me* *Is there any way that I can see what data is being returned by my REST service when invoked by CAS?* *Also, how can I see what CAS sends to my service?* *Thx!!* El martes, 18 de junio de 2019, 15:52:49 (UTC-3), Fernando Gómez escrib

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Fernando Gómez
This is my log, I have everything well configured both in the pom.xml, in the cas.properties also my service Perod and the same way fails. - *Is there any way that I can see what data is being returned by my rest service when invoked by CAS?* - *Also, how can I see what CAS sends to

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Riley Wills
You’re welcome. > On Jun 21, 2019, at 9:45 AM, Fernando Gómez wrote: > > I do some tests and I show them the logs when doing them; give me a little > time to do them please > Really, thank you very much for answering me, you are helping me a lot. > > > El viernes, 21 de junio de 2019, 11:26:5

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Fernando Gómez
I do some tests and I show them the logs when doing them; give me a little time to do them please Really, thank you very much for answering me, you are helping me a lot. El viernes, 21 de junio de 2019, 11:26:51 (UTC-3), Riley Wills escribió: > > What happens when you attempt to log into CAS (e.

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Riley Wills
What happens when you attempt to log into CAS (e.g. https://localhost:8443/cas )? > On Jun 21, 2019, at 9:09 AM, Fernando Gómez wrote: > > > > Yes in my cas.properties I put: > > > cas.authn.accept.users= > > cas.authn.rest.uri=http://myweb.com/Users/GetUserData

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Fernando Gómez
Yes in my cas.properties I put: cas.authn.accept.users= cas.authn.rest.uri=http://myweb.com/Users/GetUserDataSSO.asp cas.authn.rest.name=myweb.com.ws.get_user_data_sso.end_points cas.authn.json.location=https://myweb.comy/Uers/GetUserDataSSO.asp El viernes, 21 de junio de 2019, 11:05

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Riley Wills
Have you added the cas.authn.rest properties to your cas.properties? > On Jun 21, 2019, at 9:03 AM, Fernando Gómez wrote: > > Yes i am use CAS 5.3.9 > And in my pom.xml file, i place: > > > org.apereo.cas > cas-server-support-rest >

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Fernando Gómez
Yes i am use CAS 5.3.9 And in my pom.xml file, i place: org.apereo.cas cas-server-support-rest ${cas.version} org.apereo.cas

Re: [cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Riley Wills
What version of CAS server are you using? I see that you linked to 5.3.x documentation, but knowing the exact version is helpful. If you are using the latest version of CAS server 5.3.x, then you should be able to enable REST authentication by adding the cas-server-support-rest-authentication m

[cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Fernando Gómez
And my services is: { "@class" : "org.apereo.cas.services.RegexRegisteredService", "serviceId": "^(http|https)://(.*)myweb.com(.*)", "name" : "FERSERVICE", "id" : 2, "description" : "TEST", "evaluationOrder" : 0, "attributeReleasePolicy" : { "@class" : "org.ap

[cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-21 Thread Fernando Gómez
Hello Andy, really thank you for your answer, my cas.properties is: By chance do you know where I can get an example already done similar to what I should do? Thanks again. cas.host.name=sso-dev.myweb.com cas.server.name=https://${cas.host.name} cas.server.prefix: ${cas.server.name}/cas #cas.

[cas-user] Re: Please need Help i need delegate to the authentication to a service and receiving a response from a JSON

2019-06-18 Thread Andy Ng
Hi Fernando, > A user enters his username and password, that data must go to a service implemented by us, which returns a JSON, with the validation of the user (who can enter) and with his data for the session as his nikname, role, etc. etc etc, that remains for later. > https://apereo.github.