casinthecloud / cas-pac4j-oauth-demo

CAS server demo to test the authentication delegation
https://www.casinthecloud.com
76 stars 62 forks source link

Support for new CAS OAuth Server Implementation #4

Closed joemccall86 closed 9 years ago

joemccall86 commented 11 years ago

To run this demo do a mvn install on joemccall86/cas to get the custom 4.0.0-SNAPSHOT in your local maven repository.

This is still a work in progress, but what I have in this pull request shows a working demo of the new oauth support. As you can see in cas-servlet.xml I had to comment out the terminateWebSessionListener to give us more time to hit the 'Accept' button. I think we can add it back in once we can figure out how to add the confirmation step to the webflow. I have no experience with spring webflow, so it might take a little bit of time before I can get it integrated.

leleuj commented 11 years ago

My apologies for the avalanche of comments !

I realize that this new OAuth server support using the Spring Security OAuth library is pretty complex to put into practice.

My main comments :

Thanks for your incredible efforts !

Lekan commented 10 years ago

Hi guys, great work you guys have here. Does CAS supports all the OAuth2 grant types (Authorization Code, implicit grant, Password, & Client Credentials)?

leleuj commented 10 years ago

CAS only supports th authorization grant type for now.