public interface UserDirectoryServiceProvider
UserDirectory implementations that have their own authentication and entity validation rules.
The UserDirectoryServiceProviderManager is responsible for keeping track of the different provider instances
and providing access to them.UserDirectoryServiceProviderManager| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.AuthenticationProvider |
getAuthenticationProvider(UserDirectory userDirectory)
Get the
AuthenticationProvider required for authenticating principals for this directory. |
org.springframework.validation.Validator |
getValidator(UserDirectory userDirectory,
Class<? extends BasicSecurityPrincipal> securityPrincipalClass) |
boolean |
supports(Class<? extends UserDirectory> userDirectoryClass)
Returns
true if the UserDirectory implementation type is supported by this provider. |
boolean supports(Class<? extends UserDirectory> userDirectoryClass)
true if the UserDirectory implementation type is supported by this provider.userDirectoryClass - user directory implementationtrue if the user directory type is supportedorg.springframework.security.authentication.AuthenticationProvider getAuthenticationProvider(UserDirectory userDirectory)
AuthenticationProvider required for authenticating principals for this directory.userDirectory - instanceorg.springframework.validation.Validator getValidator(UserDirectory userDirectory, Class<? extends BasicSecurityPrincipal> securityPrincipalClass)
Copyright © 2020. All rights reserved.