Class UserAccountServiceImpl

    • Constructor Detail

      • UserAccountServiceImpl

        public UserAccountServiceImpl()
    • Method Detail

      • updateCurrentUser

        @PreAuthorize("hasAnyRole(\'ROLE_SU\', \'ROLE_USER\')")
        @Transactional
        public void updateCurrentUser​(User updatedCurrentUser)
        Description copied from interface: UserAccountService
        Update the currently logged in user
        Specified by:
        updateCurrentUser in interface UserAccountService
        Parameters:
        updatedCurrentUser - updated user
      • validateCurrentUserPassword

        @PreAuthorize("hasAnyRole(\'ROLE_SU\', \'ROLE_USER\')")
        @Transactional
        public boolean validateCurrentUserPassword​(String password)
        Description copied from interface: UserAccountService
        Validates the password of the current logged in user
        Specified by:
        validateCurrentUserPassword in interface UserAccountService
      • setPasswordEncoder

        public void setPasswordEncoder​(org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
        Testability