Class LdapAuthenticator
java.lang.Object
org.openmetadata.service.security.auth.LdapAuthenticator
- All Implemented Interfaces:
AuthenticatorHandler
-
Field Summary
Fields inherited from interface org.openmetadata.service.security.auth.AuthenticatorHandler
NOT_IMPLEMENTED_ERROR_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckIfLoginBlocked(String email) createRefreshTokenForLogin(UUID currentUserId) voidinit(OpenMetadataApplicationConfig config) loginUser(LoginRequest loginRequest) lookUserInProvider(String email) voidrecordFailedLoginAttempt(String providedIdentity, User storedUser) voidvalidatePassword(String providedIdentity, User storedUser, String reqPassword) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openmetadata.service.security.auth.AuthenticatorHandler
changeUserPwdWithOldPwd, confirmEmailRegistration, getJwtResponse, getNewAccessToken, registerUser, resendRegistrationToken, resetUserPasswordWithToken, sendEmailVerification, sendInviteMailToUser, sendPasswordResetLink
-
Constructor Details
-
LdapAuthenticator
public LdapAuthenticator()
-
-
Method Details
-
init
- Specified by:
initin interfaceAuthenticatorHandler
-
loginUser
public JwtResponse loginUser(LoginRequest loginRequest) throws IOException, freemarker.template.TemplateException - Specified by:
loginUserin interfaceAuthenticatorHandler- Throws:
IOExceptionfreemarker.template.TemplateException
-
checkIfLoginBlocked
- Specified by:
checkIfLoginBlockedin interfaceAuthenticatorHandler
-
recordFailedLoginAttempt
public void recordFailedLoginAttempt(String providedIdentity, User storedUser) throws freemarker.template.TemplateException, IOException - Specified by:
recordFailedLoginAttemptin interfaceAuthenticatorHandler- Throws:
freemarker.template.TemplateExceptionIOException
-
validatePassword
public void validatePassword(String providedIdentity, User storedUser, String reqPassword) throws freemarker.template.TemplateException, IOException - Specified by:
validatePasswordin interfaceAuthenticatorHandler- Throws:
freemarker.template.TemplateExceptionIOException
-
lookUserInProvider
- Specified by:
lookUserInProviderin interfaceAuthenticatorHandler
-
createRefreshTokenForLogin
- Specified by:
createRefreshTokenForLoginin interfaceAuthenticatorHandler
-