Step 2 could not be handled through REST using surrogate authentication - 
that is my conclusion after some tests, as I didn't manage to generate TGT 
for another user.

Is it (i.e. surrogate with REST) not supported "by design" or just not 
implemented functionality?

Regards,
Artur

W dniu wtorek, 27 sierpnia 2019 21:45:52 UTC+2 użytkownik Misagh Moayyed 
napisał:
>
> Wouldn't step 1 and 2 also be handled using the rest protocol? 
>
> On Tue, Aug 27, 2019, 6:48 PM Petr Gašparík - AMI Praha a.s. <
> [email protected] <javascript:>> wrote:
>
>> Hi,
>> in my proof of concept, I want piece of code (program library) to *log 
>> in user to CASified application without user's password.*
>>
>> That could be done in this way:
>>
>>    1. library authenticates to CAS with its login/password 
>>       - CAS responds with OK/fail
>>    2. library requests to generate TGT for specified user
>>       - CAS responds with TGT
>>    3. library requests ST via TGT 
>>       - CAS responds with ST
>>    4. library forms URL for CASified application with ST 
>>    5. user is logged in to CASified application
>>
>> I know steps 3-5 are doable through REST + CAS protocol.
>>
>> *What about step 2, how to do that*? Can I for example use suggoration 
>> for that?
>>
>> (CASified application means application that use CAS client to get 
>> authenticated users from CAS)
>>
>> best regards
>>
>> *Petr Gašparík*
>>
>> -- 
>> - 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABAspd0yUWw42pPzBTgErQkTyoV_u1tszcjg5M7oNwRsM%3D_6Vg%40mail.gmail.com
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CABAspd0yUWw42pPzBTgErQkTyoV_u1tszcjg5M7oNwRsM%3D_6Vg%40mail.gmail.com?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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/0db08ec4-009a-4257-8575-e33c33f88c66%40apereo.org.

Reply via email to