Hi,

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

To generate specific access tokens, you now have 
a 
https://github.com/apereo/cas/blob/master/support/cas-server-support-oauth/src/main/java/org/apereo/cas/support/oauth/web/OAuth20AccessTokenResponseGenerator.java
 
you could override.

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


On Tuesday, September 27, 2016 at 11:45:01 AM UTC+2, Rohit wrote:
>
> 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
>
> On Tuesday, September 27, 2016 at 3:12:48 PM UTC+5:30, Rohit wrote:
>>
>> 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
>>
>

-- 
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 post to this group, send email to [email protected].
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.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to