List of usage examples for org.springframework.security.ldap.authentication LdapAuthenticationProvider supports
public boolean supports(Class<?> authentication)
From source file:org.artifactory.security.ldap.ArtifactoryLdapAuthenticationProvider.java
@Override public boolean supports(Class<?> authentication) { if (centralConfig.getDescriptor().getSecurity().isLdapEnabled()) { for (LdapAuthenticationProvider ldapAuthenticationProvider : getLdapAuthenticationProviders() .values()) {/*from w w w. j a va 2 s.c om*/ if (ldapAuthenticationProvider.supports(authentication)) { return true; } } } return false; }