CAS server protocol version

157 views
Skip to first unread message

Eric Bo Jiang

unread,
Oct 16, 2019, 12:52:10 PM10/16/19
to cas-...@apereo.org
New to CAS, I have a simple question that I can't find on CAS website or i am not looking carefully.  how the protocol version of the server specified, Can single server communicate with different client with protocols in different versions ?   I just realized that CAS 2 doesn't support the attribute rerteriveing, response only contains principle with user name and proxy information. 

Thanks for any help. 

Richard Frovarp

unread,
Oct 16, 2019, 1:00:00 PM10/16/19
to cas-...@apereo.org
See the protocol documentation on the CAS website: https://apereo.github.io/cas/6.0.x/protocol/CAS-Protocol.html

You'll note that the big change between 2 and 3 on the server side is that there are different service validation end points. Protocol v3 works just fine for modern libraries, and will get you your attributes.

So yes, a single server can support the two versions, it is up to the client to choose what it wants to call, and it needs to hit the correct validation URL. You can additionally add support for more protocols, as you can see in the documentation.

On 10/16/19 11:00 AM, Eric Bo Jiang wrote:
New to CAS, I have a simple question that I can't find on CAS website or i am not looking carefully.  how the protocol version of the server specified, Can single server communicate with different client with protocols in different versions ?   I just realized that CAS 2 doesn't support the attribute rerteriveing, response only contains principle with user name and proxy information. 

Thanks for any help. 
--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMHJjRxJhx1FJ9rXEov3qdsZOr3Anpc5dnYaK5L_ddsFRiwZuA%40mail.gmail.com.


Eric Bo Jiang

unread,
Oct 16, 2019, 1:47:03 PM10/16/19
to cas-...@apereo.org
Thank you Richard, that explains why there is property in configuration about the protocol versions. 

Reply all
Reply to author
Forward
0 new messages