class DefaultPasswordFilterManager implements PasswordFilterManager {

	@Override
	public void createEcho(UUID accountId, GuardedString password) {
		AccPasswordFilterEchoItemDto echo = new AccPasswordFilterEchoItemDto(hashPassword(password), accountId);
		ZonedDateTime now = ZonedDateTime.now();
		echo.setValidityChecked(true);
		echo.setChanged(true);
		echo.setChangeDate(now);
		echo.setValidateDate(now);
		LOG.info("For account [{}] will be created new standard echo with validity and changed record.", accountId);
		idmCacheManager.cacheValue(ECHO_CACHE_NAME, accountId, echo);
	}

}