What happens when you attempt to log into CAS (e.g. https://localhost:8443/cas <https://localhost:8443/cas>)?
> On Jun 21, 2019, at 9:09 AM, Fernando Gómez <fgf2...@gmail.com> wrote: > > > > Yes in my cas.properties I put: > > > cas.authn.accept.users= > > cas.authn.rest.uri=http://myweb.com/Users/GetUserDataSSO.asp > <http://myweb.com/Users/GetUserDataSSO.asp> > cas.authn.rest.name > <http://cas.authn.rest.name/>=myweb.com.ws.get_user_data_sso.end_points > > > cas.authn.json.location=https://myweb.comy/Uers/GetUserDataSSO.asp > <https://myweb.comy/Uers/GetUserDataSSO.asp> > > > > > > > > > El viernes, 21 de junio de 2019, 11:05:28 (UTC-3), Riley Wills escribió: > Have you added the cas.authn.rest properties to your cas.properties? > >> On Jun 21, 2019, at 9:03 AM, Fernando Gómez <fgf...@gmail.com <>> wrote: >> >> Yes i am use CAS 5.3.9 >> And in my pom.xml file, i place: >> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> <artifactId>cas-server-support-rest</artifactId> >> <version>${cas.version}</version> >> </dependency> >> >> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> >> <artifactId>cas-server-support-rest-authentication</artifactId> >> <version>${cas.version}</version> >> </dependency> >> >> >> >> El viernes, 21 de junio de 2019, 10:50:57 (UTC-3), Riley Wills escribió: >> 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 module to your cas-overlay pom.xml or >> build.gradle >> (https://apereo.github.io/cas/5.3.x/installation/Rest-Authentication.html >> <https://apereo.github.io/cas/5.3.x/installation/Rest-Authentication.html>). >> Your internal service will need to be able to consume the POST message from >> CAS and respond according to the specification at the linked page above. >> >> After adding the module, your cas.properties would need to be updated to >> include >> >> cas.authn.rest.uri=https://... >> cas.authn.rest.name <http://cas.authn.rest.name/>= >> >> I haven’t implemented REST authentication, but this would be my first step. >> >> - Riley >> >> >>> On Jun 21, 2019, at 8:35 AM, Fernando Gómez <fgf...@ <>gmail.com >>> <http://gmail.com/>> wrote: >>> >>> And my services is: >>> >>> >>> { >>> "@class" : "org.apereo.cas.services.RegexRegisteredService", >>> "serviceId": "^(http|https)://(.*)myweb.com <http://myweb.com/>(.*)", >>> "name" : "FERSERVICE", >>> "id" : 2, >>> "description" : "TEST", >>> "evaluationOrder" : 0, >>> "attributeReleasePolicy" : { >>> "@class" : >>> "org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy", >>> "authorizedToReleaseProxyGrantingTicket" : true >>> }, >>> "publicKey" : { >>> "@class" : "org.apereo.cas.services.RegisteredServicePublicKeyImpl", >>> "location" : "classpath:public.key", >>> "algorithm" : "RSA" >>> } >>> } >>> >>> >>> El martes, 18 de junio de 2019, 15:52:49 (UTC-3), Fernando Gómez escribió: >>> Hi, I need just a little guidance on what I should do, this is my case. >>> We have a CAS server, to function as SSO, the form of accreditation that >>> should be implemented, is delegating the authentication to an internal >>> service of ours. >>> What I want to say is the following: >>> >>> 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. >>> >>> What I need to know is which guide I can go or where I can obtain >>> information to do that process, everything else we already have done, just >>> need to be able to tell the SSO, that they should consult our service and >>> wait for a response from it. >>> >>> From what I've read, I should be using something like this: >>> >>> https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#rest-authentication >>> >>> <https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#rest-authentication> >>> >>> I do not know how to tell the CAS to call my service and give it the same >>> route >>> >>> Can you please help me, I'm already entering? I am already reaching a point >>> of desperation with this issue. >>> >>> Thanks in advance >>> >>> -- >>> - Website: https://apereo.github.io/cas <https://apereo.github.io/cas> >>> - Gitter Chatroom: https://gitter.im/apereo/cas >>> <https://gitter.im/apereo/cas> >>> - List Guidelines: https://goo.gl/1VRrw7 <https://goo.gl/1VRrw7> >>> - Contributions: https://goo.gl/mh7qDG <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-...@ <>apereo. <http://apereo.org/>org <http://apereo.org/>. >>> To view this discussion on the web visit >>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/d08f3eb3-9a44-42a7-9614-98e92e649eea%40apereo.org >>> >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/d08f3eb3-9a44-42a7-9614-98e92e649eea%40apereo.org?utm_medium=email&utm_source=footer>. >> >> >> -- >> - Website: https://apereo.github.io/cas <https://apereo.github.io/cas> >> - Gitter Chatroom: https://gitter.im/apereo/cas >> <https://gitter.im/apereo/cas> >> - List Guidelines: https://goo.gl/1VRrw7 <https://goo.gl/1VRrw7> >> - Contributions: https://goo.gl/mh7qDG <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-...@apereo.org <>. >> To view this discussion on the web visit >> https://groups.google.com/a/apereo.org/d/msgid/cas-user/c626e7e3-4323-4450-9d95-79bab27c3ab9%40apereo.org >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/c626e7e3-4323-4450-9d95-79bab27c3ab9%40apereo.org?utm_medium=email&utm_source=footer>. > > > -- > - Website: https://apereo.github.io/cas <https://apereo.github.io/cas> > - Gitter Chatroom: https://gitter.im/apereo/cas <https://gitter.im/apereo/cas> > - List Guidelines: https://goo.gl/1VRrw7 <https://goo.gl/1VRrw7> > - Contributions: https://goo.gl/mh7qDG <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 > <mailto:cas-user+unsubscr...@apereo.org>. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/b2c73252-070a-4aac-a489-965a8afde703%40apereo.org > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/b2c73252-070a-4aac-a489-965a8afde703%40apereo.org?utm_medium=email&utm_source=footer>. -- - 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/E8943697-9D12-4BB2-B912-98668C07DFFC%40acu.edu.