public class ImportLdapAuthenticationService extends ImportAuthenticationService
ImportAuthenticationService.CacheRegistration
IAuthProvider.AuthResult, IAuthProvider.IAuthContext
Constructor and Description |
---|
ImportLdapAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAuth(Parameters parameters,
java.lang.String userDn,
java.lang.String userPassword)
Check user authentication against directory
|
protected java.lang.String |
getDirectoryKind()
Get directory kind
|
protected Parameters |
getParameters(Domain domain,
java.util.Map<java.lang.String,java.lang.String> domainSettings)
Get domain directory parameters
|
protected java.lang.String |
getPrefix()
Get directory external ID prefix
|
protected java.lang.String |
getUserDnByUserLogin(Parameters parameters,
java.lang.String domainName,
java.lang.String userLogin)
Get user directory DN from user login
|
protected java.lang.String |
getUserDnByUuid(Parameters parameters,
java.lang.String uuid)
Get user directory DN from user external ID
|
protected java.util.Optional<UuidMapper> |
getUuidMapper(java.lang.String externalId)
Get user UuidMapper from user external ID
|
check, priority
protected java.lang.String getDirectoryKind()
ImportAuthenticationService
getDirectoryKind
in class ImportAuthenticationService
protected java.lang.String getPrefix()
ImportAuthenticationService
getPrefix
in class ImportAuthenticationService
protected Parameters getParameters(Domain domain, java.util.Map<java.lang.String,java.lang.String> domainSettings)
ImportAuthenticationService
getParameters
in class ImportAuthenticationService
protected java.util.Optional<UuidMapper> getUuidMapper(java.lang.String externalId)
ImportAuthenticationService
getUuidMapper
in class ImportAuthenticationService
protected java.lang.String getUserDnByUserLogin(Parameters parameters, java.lang.String domainName, java.lang.String userLogin)
ImportAuthenticationService
getUserDnByUserLogin
in class ImportAuthenticationService
protected java.lang.String getUserDnByUuid(Parameters parameters, java.lang.String uuid) throws java.lang.Exception
ImportAuthenticationService
getUserDnByUuid
in class ImportAuthenticationService
java.lang.Exception
protected boolean checkAuth(Parameters parameters, java.lang.String userDn, java.lang.String userPassword)
ImportAuthenticationService
checkAuth
in class ImportAuthenticationService
Copyright © 2021. All Rights Reserved.