}
@Override
public void savePayer(final PayerDTO payerDto)
throws DataNotStoredException {
final Payer payer = this.mapper.map(payerDto, Payer.class);
try {
final StandardPasswordEncoder encoder = new StandardPasswordEncoder();
final String encodedPassword = encoder.encode(payerDto
.getPassword());
payer.setPassword(encodedPassword);
this.payerDao.doSave(payer);
} catch (final DataNotStoredException e) {
LOGGER.error(e.getLocalizedMessage(), e);
throw new DataNotStoredException(e.getLocalizedMessage());
}