Table of Contents |
---|
I. How to use OAuth server support configured for CAS server ?
Once you will have configured your CAS server with OAuth server support, you will be able to communicate with it through OAuth 2.0 protocol (http://tools.ietf.org/html/draft-ietf-oauth-v2-31) :protocol.
1) /oauth2.0/authorize
It's the url to call to authorize the user : the CAS login page will be displayed and the user will authenticate. After successfull authenticationAfter successful authentication, the user will be redirected on OAuth callbackUrl with a code. Input GET parameters required : client_id and redirect_uri.
...
Code Block | ||
---|---|---|
| ||
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-oauth</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency> |
2) Add the OAuth20WrapperController
...