Package com.aquima.web.boot.security
Class LdapAuthenticationProviderFactory
java.lang.Object
com.aquima.web.boot.security.LdapAuthenticationProviderFactory
- All Implemented Interfaces:
AuthenticationProviderFactory
@Component
public class LdapAuthenticationProviderFactory
extends Object
implements AuthenticationProviderFactory
-
Constructor Summary
ConstructorsConstructorDescriptionLdapAuthenticationProviderFactory
(SecurityConfigProperties securityConfigProperties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.springframework.security.authentication.AuthenticationProvider
boolean
matchesForType
(String type)
-
Constructor Details
-
LdapAuthenticationProviderFactory
@Autowired public LdapAuthenticationProviderFactory(SecurityConfigProperties securityConfigProperties)
-
-
Method Details
-
create
public org.springframework.security.authentication.AuthenticationProvider create(String name) throws Exception - Specified by:
create
in interfaceAuthenticationProviderFactory
- Throws:
Exception
-
canCreate
public boolean canCreate()- Specified by:
canCreate
in interfaceAuthenticationProviderFactory
-
matchesForType
- Specified by:
matchesForType
in interfaceAuthenticationProviderFactory
-