Interface AuthenticatorHandler
- All Known Implementing Classes:
BasicAuthenticator,LdapAuthenticator,NoopAuthenticator
public interface AuthenticatorHandler
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidchangeUserPwdWithOldPwd(javax.ws.rs.core.UriInfo uriInfo, String userName, ChangePasswordRequest req) voidcheckIfLoginBlocked(String userName) default voidconfirmEmailRegistration(javax.ws.rs.core.UriInfo uriInfo, String emailToken) default RefreshTokencreateRefreshTokenForLogin(UUID currentUserId) default JwtResponsegetJwtResponse(User storedUser, long expireInSeconds) default JwtResponsegetNewAccessToken(TokenRefreshRequest request) voidinit(OpenMetadataApplicationConfig config) loginUser(LoginRequest loginRequest) lookUserInProvider(String userName) voidrecordFailedLoginAttempt(String providedIdentity, User user) default UserregisterUser(RegistrationRequest registrationRequest) default voidresendRegistrationToken(javax.ws.rs.core.UriInfo uriInfo, User registeredUser) default voidresetUserPasswordWithToken(javax.ws.rs.core.UriInfo uriInfo, PasswordResetRequest req) default voidsendEmailVerification(javax.ws.rs.core.UriInfo uriInfo, User user) default voidsendInviteMailToUser(javax.ws.rs.core.UriInfo uriInfo, User user, String subject, CreateUser.CreatePasswordType requestType, String pwd) default voidsendPasswordResetLink(javax.ws.rs.core.UriInfo uriInfo, User user, String subject, String templateFilePath) voidvalidatePassword(String providedIdentity, User storedUser, String reqPassword)
-
Field Details
-
NOT_IMPLEMENTED_ERROR_TYPE
- See Also:
-
-
Method Details
-
init
-
loginUser
JwtResponse loginUser(LoginRequest loginRequest) throws IOException, freemarker.template.TemplateException - Throws:
IOExceptionfreemarker.template.TemplateException
-
checkIfLoginBlocked
-
recordFailedLoginAttempt
void recordFailedLoginAttempt(String providedIdentity, User user) throws freemarker.template.TemplateException, IOException - Throws:
freemarker.template.TemplateExceptionIOException
-
validatePassword
void validatePassword(String providedIdentity, User storedUser, String reqPassword) throws freemarker.template.TemplateException, IOException - Throws:
freemarker.template.TemplateExceptionIOException
-
lookUserInProvider
-
registerUser
-
sendEmailVerification
- Throws:
IOException
-
confirmEmailRegistration
-
resendRegistrationToken
default void resendRegistrationToken(javax.ws.rs.core.UriInfo uriInfo, User registeredUser) throws IOException - Throws:
IOException
-
sendPasswordResetLink
default void sendPasswordResetLink(javax.ws.rs.core.UriInfo uriInfo, User user, String subject, String templateFilePath) throws IOException - Throws:
IOException
-
resetUserPasswordWithToken
default void resetUserPasswordWithToken(javax.ws.rs.core.UriInfo uriInfo, PasswordResetRequest req) throws IOException - Throws:
IOException
-
changeUserPwdWithOldPwd
default void changeUserPwdWithOldPwd(javax.ws.rs.core.UriInfo uriInfo, String userName, ChangePasswordRequest req) throws IOException - Throws:
IOException
-
createRefreshTokenForLogin
-
getNewAccessToken
-
sendInviteMailToUser
default void sendInviteMailToUser(javax.ws.rs.core.UriInfo uriInfo, User user, String subject, CreateUser.CreatePasswordType requestType, String pwd) throws IOException - Throws:
IOException
-
getJwtResponse
-