cas-server-support-oauth on 5.0.0.RC3

94 views
Skip to first unread message

Rohit

unread,
Sep 27, 2016, 5:42:48 AM9/27/16
to CAS Community
Hello All,

A few of questions around the support available cas-server-support-oauth module in 5.0.0
1. We have a scenario where we want to plug our own services to generate the access tokens, for this we were planning to override the OAuth20AccessTokenController and plug the services in
2. In the new overridden DerivedOAuth20AccessTokenController, we will override the handleRequestInternal method and plug in the logic to get the access token from our acesstokenservice
3. We would also have to override the generateAccessToken from the BaseOAuthWrapperController where we can autowire our AccessTokenFactory

The questions are around how to override the beans for  OAuth20AccessTokenController and AccessTokenFactory. Do we still use the deployerContextConfig or are there new enhancements in the latest release? What are the properties that need to be used to override these classes?

We are also looking to generate the access tokens using the grant_type=password

Also - wanted to confirm that the date for the release of 5.0.0 is September 30, 2016.

All help is appreciated.

Thanks,
Rohit

Rohit

unread,
Sep 27, 2016, 5:45:01 AM9/27/16
to CAS Community
In addition,

we are currently using CAS 4.0.1 - and we want to upgrade the cas-server-support-oauth module to 5.0.0, will an incremental update work or is it recommended to move the entire CAS module to 5.0.0? The former should work, unless, we miss something not moving the whole CAS to 5.0.0

Thanks,
Rohit

leleuj

unread,
Sep 29, 2016, 5:21:56 AM9/29/16
to CAS Community
Hi,

In 5.0.0, many things have changed and I think it will be a global move.


OAuth support is added on the fly when you'll add the dependency: https://apereo.github.io/cas/development/installation/OAuth-OpenId-Authentication.html

The release date is currently shifting to handle the latest issues / bugs.

Thanks.
Best regards,
Jérôme

Rohit Idgunji

unread,
Oct 4, 2016, 8:35:38 AM10/4/16
to leleuj, CAS Community
Hi,

Many thanks for your response. Yes, we are going through this change that you said would be global move. Some of the settings that were defined in the xml file for the beans have also changed in 5.0.0 when compared to 4.0.1, will those not be needed any more?

I will look at the class you mention to override the generation of access tokens.

Thanks Again.
Rohit

--
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+unsubscribe@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/36770c7c-45f2-44c1-bf2c-39ef698ae1dd%40apereo.org.

Reply all
Reply to author
Forward
0 new messages