Class ForgottenPasswordService

java.lang.Object
hu.rts.mike.example.dev.crm.rest.security.ForgottenPasswordService

@Service public class ForgottenPasswordService extends Object
  • Field Details

    • domain

      @Value("${app.security.password-reset-view.domain}") private String domain
    • passwordResetViewUrl

      @Value("${app.security.password-reset-view.url}") private String passwordResetViewUrl
    • loginService

      private final LoginService loginService
    • messageSource

      private final org.springframework.context.MessageSource messageSource
    • authInfoRepository

      private final AuthInfoRepository authInfoRepository
  • Constructor Details

    • ForgottenPasswordService

      public ForgottenPasswordService(LoginService loginService, org.springframework.context.MessageSource messageSource, AuthInfoRepository authInfoRepository)
  • Method Details

    • requestPasswordReset

      @Transactional public void requestPasswordReset(String userNameOrEmail, Locale language)
    • changePassword

      public void changePassword(ChangePasswordDto dto)