Isn't there a configuration file I can override the bean ids? I want to extend the OAuth20AccessTokenConteoller and override the handleRequestInternal method to get the accessToken from a service that I have
Thanks, Rohit On Tue, Sep 27, 2016 at 10:30 PM, Rohit Idgunji <[email protected]> wrote: > thanks - will give it a try. > Rohit > > On Tue, Sep 27, 2016 at 10:16 PM, Misagh Moayyed <[email protected]> > wrote: > >> >> No. >> >> >> https://github.com/apereo/cas/blob/master/support/cas-server >> -support-oauth/src/main/java/org/apereo/cas/config/CasOAuth >> Configuration.java#L315 >> >> -- >> Misagh >> >> From: Rohit Idgunji <[email protected]> <[email protected]> >> Reply: Rohit Idgunji <[email protected]> <[email protected]> >> Date: September 27, 2016 at 7:51:15 PM >> To: Natan Zeferino <[email protected]> <[email protected]> >> Cc: CAS Community <[email protected]> <[email protected]>, >> [email protected] <[email protected]> <[email protected]> >> Subject: Re: [cas-user] [CAS 5] How can I change the >> DefaultLdapRegisteredServiceMapper >> >> Hi Misagh, >> >> Is it the same for OAuth20AccessTokenController - will the bean id be >> oauth20AccessTokenController? >> >> Thanks, >> Rohit >> >> On Tue, Sep 27, 2016 at 9:37 PM, Natan Zeferino <[email protected]> >> wrote: >> >>> Worked!!! >>> >>> Thanks >>> >>> >>> Em terça-feira, 27 de setembro de 2016 12:50:34 UTC-3, Natan Zeferino >>> escreveu: >>>> >>>> Ok! I will try! >>>> >>>> Em terça-feira, 27 de setembro de 2016 11:52:54 UTC-3, Misagh Moayyed >>>> escreveu: >>>>> >>>>> Declare a bean called “ldapServiceRegistryMapper” and CAS will use >>>>> yours. >>>>> >>>>> -- >>>>> Misagh >>>>> >>>>> From: Natan Zeferino <[email protected]> >>>>> Reply: Natan Zeferino <[email protected]> >>>>> Date: September 27, 2016 at 3:33:47 PM >>>>> To: CAS Community <[email protected]> >>>>> Subject: [cas-user] [CAS 5] How can I change the >>>>> DefaultLdapRegisteredServiceMapper >>>>> >>>>> I want to use my own LdapRegisteredServiceMapper instead >>>>> of DefaultLdapRegisteredServiceMapper. >>>>> >>>>> How can I make it? >>>>> -- >>>>> 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/ap >>>>> ereo.org/group/cas-user/. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/9cfd >>>>> d537-6b64-466a-9dd4-4aa8c2bba07f%40apereo.org >>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/9cfdd537-6b64-466a-9dd4-4aa8c2bba07f%40apereo.org?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/a/ap >>>>> ereo.org/d/optout. >>>>> >>>>> -- >>> 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/ap >>> ereo.org/group/cas-user/. >>> To view this discussion on the web visit https://groups.google.com/a/ap >>> ereo.org/d/msgid/cas-user/45d83b9c-1f14-468c-ba4e-90e5b49af3 >>> cb%40apereo.org >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/45d83b9c-1f14-468c-ba4e-90e5b49af3cb%40apereo.org?utm_medium=email&utm_source=footer>. >>> >>> >>> For more options, visit https://groups.google.com/a/apereo.org/d/optout. >>> >> >> -- >> 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/ap >> ereo.org/group/cas-user/. >> To view this discussion on the web visit https://groups.google.com/a/ap >> ereo.org/d/msgid/cas-user/etPan.57eaa27a.4ed57d53.31e4%40unicon.net >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.57eaa27a.4ed57d53.31e4%40unicon.net?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/a/apereo.org/d/optout. >> > > -- 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/CACVJFMhfK5EDSGad%3DYzWMUHx4Jxmrr5UfVCeW0KTei_LYcocGQ%40mail.gmail.com. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
