I am looking very good, it is similar to what I should do, my service is 
written in .net, but it is the least, I can adapt how important is the 
logic.
I think what you tell me will be very helpful.
I will tell you

El martes, 17 de diciembre de 2019, 1:33:38 (UTC-3), Andy Ng escribió:
>
> Hi Fernando,
>
> Have you look into *Rest Authentication*? 
> https://apereo.github.io/cas/6.1.x/installation/Rest-Authentication.html
>
> *> encode it and then send it to an external service of mine that is 
> responsible for validating and to obtain the information of the user to my 
> database*
> What language is the *external service* written in? If it is PHP I got a 
> sample for you:
>
> https://github.com/NgSekLong/SelectUrCAS/blob/master/source/authentication/rest/index.php
>  otherwise you can also based on the sample to make your own external 
> service.
>
>
> Basically you want to add the following to your cas.properties / cas.yml
> *cas.authn.rest: uri: 
> http://yourcompany.rest.external.server/somethingsomething 
> <http://yourcompany.rest.external.server/somethingsomething>*
>
> And it should do what you want to achieve.
>
> If you decided to use rest authentication, your diagram will look 
> something like this:
>
>
>
> [image: temp.png]
>
>
>
>
>
>
>
>
>
>
> Seems like it should work.
>
>
> *Note: Some people using rest authentication have external service that 
> cannot be modified, in that case you will need to heavily modified CAS, 
> which would be another topic and might take a lot more time.*
>
>
> See if the above can help you...
>
> Cheer!
> - 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 Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/21cf2f93-e181-4a94-97f4-e9a8f48339fd%40apereo.org.

Reply via email to