private void setPassword(final SyncopeUser user, final String password,
final SyncopeClientCompositeException scce) {
int passwordHistorySize = 0;
PasswordPolicy policy = policyDAO.getGlobalPasswordPolicy();
if (policy != null && policy.getSpecification(PasswordPolicySpec.class) != null) {
passwordHistorySize = policy.getSpecification(PasswordPolicySpec.class).getHistoryLength();
}
try {
user.setPassword(password, getPredefinedCipherAlgoritm(), passwordHistorySize);
} catch (NotFoundException e) {