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
Fields Modifier and Type Field Description protected DefaultCredentialChecker
credentialChecker
protected AuthDataAccessor
dataAccessor
protected DomainOps
domainOps
protected static Encryptor
ENCRYPTOR
protected static Logger
LOG
protected UserProvisioningManager
provisioningManager
protected SecurityProperties
securityProperties
-
Constructor Summary
Constructors Constructor Description UsernamePasswordAuthenticationProvider(DomainOps domainOps, AuthDataAccessor dataAccessor, UserProvisioningManager provisioningManager, DefaultCredentialChecker credentialChecker, SecurityProperties securityProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
authenticate(Authentication authentication)
protected Authentication
finalizeAuthentication(Boolean authenticated, String domain, String username, String delegationKey, Authentication authentication)
boolean
supports(Class<?> authentication)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
ENCRYPTOR
protected static final Encryptor ENCRYPTOR
-
domainOps
protected final DomainOps domainOps
-
dataAccessor
protected final AuthDataAccessor dataAccessor
-
provisioningManager
protected final UserProvisioningManager provisioningManager
-
credentialChecker
protected final DefaultCredentialChecker credentialChecker
-
securityProperties
protected final SecurityProperties securityProperties
-
-
Constructor Detail
-
UsernamePasswordAuthenticationProvider
public UsernamePasswordAuthenticationProvider(DomainOps domainOps, AuthDataAccessor dataAccessor, UserProvisioningManager provisioningManager, DefaultCredentialChecker credentialChecker, SecurityProperties securityProperties)
-
-
Method Detail
-
authenticate
public Authentication authenticate(Authentication authentication)
- Specified by:
authenticate
in interfaceAuthenticationProvider
-
finalizeAuthentication
protected Authentication finalizeAuthentication(Boolean authenticated, String domain, String username, String delegationKey, Authentication authentication)
-
supports
public boolean supports(Class<?> authentication)
- Specified by:
supports
in interfaceAuthenticationProvider
-
-