Search in sources :

Example 6 with AccUniformPasswordFilter

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;
}
Also used : AccUniformPasswordFilter(eu.bcvsolutions.idm.acc.dto.filter.AccUniformPasswordFilter)

Example 7 with AccUniformPasswordFilter

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;
}
Also used : AccUniformPasswordFilter(eu.bcvsolutions.idm.acc.dto.filter.AccUniformPasswordFilter)

Aggregations

AccUniformPasswordFilter (eu.bcvsolutions.idm.acc.dto.filter.AccUniformPasswordFilter)7 AccUniformPasswordDto (eu.bcvsolutions.idm.acc.dto.AccUniformPasswordDto)3 AbstractPasswordFilterIntegrationTest (eu.bcvsolutions.idm.acc.AbstractPasswordFilterIntegrationTest)2 Test (org.junit.Test)2 SysSystemDto (eu.bcvsolutions.idm.acc.dto.SysSystemDto)1 SysSyncConfigFilter (eu.bcvsolutions.idm.acc.dto.filter.SysSyncConfigFilter)1 SysSystemGroupFilter (eu.bcvsolutions.idm.acc.dto.filter.SysSystemGroupFilter)1 SysSystemMappingFilter (eu.bcvsolutions.idm.acc.dto.filter.SysSystemMappingFilter)1 IdmRoleTreeNodeFilter (eu.bcvsolutions.idm.core.api.dto.filter.IdmRoleTreeNodeFilter)1