Hi all,
I have enabled cas monitor endpoints. When I add a new saml provider 
*cas.authn.pac4j.saml[1] 
*and hit the */status/refresh* endpoint the new saml provider is appearing 
in UI.
But when I add a new ldap provider *cas.authn.ldap[1]* the ldap 
authentication is not working for new domain.

In the log file I can see it is not considering the new ldap provider.

I was just looking at the source code of *LdapAuthenticationConfiguration* 
https://github.com/apereo/cas/blob/v5.2.2/support/cas-server-support-ldap/src/main/java/org/apereo/cas/config/LdapAuthenticationConfiguration.java#L84

@Bean
public Collection<AuthenticationHandler> ldapAuthenticationHandlers() {
       final Collection<AuthenticationHandler> handlers = new HashSet<>();

        casProperties.getAuthn().getLdap()
               .stream()

There is no *@RefreshScope *annotation over the ldapAuthenticationHandlers()
. 

Is it intentional or am I missing any configuration?


Thanks,
Soumya

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
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+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d496802b-3106-4ceb-8f18-746d53f6a795%40apereo.org.

Reply via email to