Class ChangePasswordServiceImpl

java.lang.Object
security.service.ChangePasswordServiceImpl
All Implemented Interfaces:
ChangePasswordService

@Service public class ChangePasswordServiceImpl extends Object implements ChangePasswordService
  • Constructor Details

    • ChangePasswordServiceImpl

      public ChangePasswordServiceImpl(SimpleCredentialsService simpleCredentialsService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
  • Method Details

    • change

      public void change(String username, String password)
      Change the password to a new one
      Specified by:
      change in interface ChangePasswordService
      Parameters:
      username - obligatory
      password - obligatory