use of eu.bcvsolutions.idm.acc.dto.filter.AccUniformPasswordFilter in project CzechIdMng by bcvsolutions.
the class DefaultUniformPasswordManager method shouldBePasswordSetToIdM.
@Override
public boolean shouldBePasswordSetToIdM() {
AccUniformPasswordFilter uniformPasswordFilter = new AccUniformPasswordFilter();
uniformPasswordFilter.setChangeInIdM(Boolean.TRUE);
uniformPasswordFilter.setDisabled(Boolean.FALSE);
long count = uniformPasswordService.count(uniformPasswordFilter);
return count > 0;
}
use of eu.bcvsolutions.idm.acc.dto.filter.AccUniformPasswordFilter in project CzechIdMng by bcvsolutions.
the class DefaultUniformPasswordManager method isSystemInUniformPasswordAgenda.
@Override
public boolean isSystemInUniformPasswordAgenda(UUID systemId) {
Assert.notNull(systemId, "System ID cannot be null!");
AccUniformPasswordFilter uniformPasswordFilter = new AccUniformPasswordFilter();
uniformPasswordFilter.setSystemId(systemId);
uniformPasswordFilter.setDisabled(Boolean.FALSE);
long count = uniformPasswordService.count(uniformPasswordFilter);
return count > 0;
}
Aggregations