Class UsernamePasswordAuthenticationProvider
java.lang.Object
org.apache.syncope.core.spring.security.UsernamePasswordAuthenticationProvider
- All Implemented Interfaces:
AuthenticationProvider
- Direct Known Subclasses:
SelfKeymasterUsernamePasswordAuthenticationProvider
@Configurable
public class UsernamePasswordAuthenticationProvider
extends Object
implements AuthenticationProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DefaultCredentialChecker
protected final AuthDataAccessor
protected final DomainOps
protected static final Encryptor
protected static final Logger
protected final UserProvisioningManager
protected final SecurityProperties
-
Constructor Summary
ConstructorDescriptionUsernamePasswordAuthenticationProvider
(DomainOps domainOps, AuthDataAccessor dataAccessor, UserProvisioningManager provisioningManager, DefaultCredentialChecker credentialChecker, SecurityProperties securityProperties) -
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(Authentication authentication) protected Authentication
finalizeAuthentication
(Boolean authenticated, String domain, String username, String delegationKey, Authentication authentication) boolean
-
Field Details
-
LOG
-
ENCRYPTOR
-
domainOps
-
dataAccessor
-
provisioningManager
-
credentialChecker
-
securityProperties
-
-
Constructor Details
-
UsernamePasswordAuthenticationProvider
public UsernamePasswordAuthenticationProvider(DomainOps domainOps, AuthDataAccessor dataAccessor, UserProvisioningManager provisioningManager, DefaultCredentialChecker credentialChecker, SecurityProperties securityProperties)
-
-
Method Details
-
authenticate
- Specified by:
authenticate
in interfaceAuthenticationProvider
-
finalizeAuthentication
protected Authentication finalizeAuthentication(Boolean authenticated, String domain, String username, String delegationKey, Authentication authentication) -
supports
- Specified by:
supports
in interfaceAuthenticationProvider
-