[CAS 5] How can I change the DefaultLdapRegisteredServiceMapper

43 views
Skip to first unread message

Natan Zeferino

unread,
Sep 27, 2016, 8:03:40 AM9/27/16
to CAS Community
I want to use my own LdapRegisteredServiceMapper instead of DefaultLdapRegisteredServiceMapper.

How can I make it?

Misagh Moayyed

unread,
Sep 27, 2016, 10:52:54 AM9/27/16
to Natan Zeferino, CAS Community

Declare a bean called “ldapServiceRegistryMapper” and CAS will use yours.


-- 
Misagh
--
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+u...@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/9cfdd537-6b64-466a-9dd4-4aa8c2bba07f%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Natan Zeferino

unread,
Sep 27, 2016, 11:50:34 AM9/27/16
to CAS Community, nat...@gmail.com, mmoa...@unicon.net
Ok! I will try!

Natan Zeferino

unread,
Sep 27, 2016, 12:07:49 PM9/27/16
to CAS Community, nat...@gmail.com, mmoa...@unicon.net
Worked!!!

Thanks

Rohit Idgunji

unread,
Sep 27, 2016, 12:21:14 PM9/27/16
to Natan Zeferino, CAS Community, mmoa...@unicon.net
Hi Misagh,

Is it the same for OAuth20AccessTokenController - will the bean id be oauth20AccessTokenController?

Thanks,
Rohit

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/.

Misagh Moayyed

unread,
Sep 27, 2016, 12:47:09 PM9/27/16
to CAS Community

Rohit Idgunji

unread,
Sep 27, 2016, 1:00:59 PM9/27/16
to Misagh Moayyed, CAS Community
thanks - will give it a try.
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/.

Rohit Idgunji

unread,
Oct 4, 2016, 5:40:30 AM10/4/16
to Misagh Moayyed, CAS Community
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

Rohit Idgunji

unread,
Oct 4, 2016, 8:41:13 AM10/4/16
to Misagh Moayyed, CAS Community
Leleuj answered this query on another thread, so going ahead with what he had mentioned there.

Many thanks.
Rohit
Reply all
Reply to author
Forward
0 new messages