Search in sources :

Example 96 with TestResource

use of eu.bcvsolutions.idm.acc.entity.TestResource in project CzechIdMng by bcvsolutions.

the class IdentitySyncTest method initIdentityData.

@Transactional
public void initIdentityData() {
    deleteAllResourceData();
    TestResource resourceUserOne = new TestResource();
    resourceUserOne.setName(IDENTITY_ONE);
    resourceUserOne.setFirstname(IDENTITY_ONE);
    resourceUserOne.setLastname(IDENTITY_ONE);
    resourceUserOne.setEavAttribute("1");
    entityManager.persist(resourceUserOne);
}
Also used : TestResource(eu.bcvsolutions.idm.acc.entity.TestResource) Transactional(javax.transaction.Transactional)

Aggregations

TestResource (eu.bcvsolutions.idm.acc.entity.TestResource)96 Test (org.junit.Test)82 IdmIdentityDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto)80 AbstractIntegrationTest (eu.bcvsolutions.idm.test.api.AbstractIntegrationTest)80 SysSystemDto (eu.bcvsolutions.idm.acc.dto.SysSystemDto)62 IdmRoleDto (eu.bcvsolutions.idm.core.api.dto.IdmRoleDto)60 IdmIdentityRoleDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityRoleDto)41 SysSystemAttributeMappingDto (eu.bcvsolutions.idm.acc.dto.SysSystemAttributeMappingDto)36 SysSystemMappingDto (eu.bcvsolutions.idm.acc.dto.SysSystemMappingDto)36 AccIdentityAccountFilter (eu.bcvsolutions.idm.acc.dto.filter.AccIdentityAccountFilter)32 AccIdentityAccountDto (eu.bcvsolutions.idm.acc.dto.AccIdentityAccountDto)30 GuardedString (eu.bcvsolutions.idm.core.security.api.domain.GuardedString)30 AccAccountDto (eu.bcvsolutions.idm.acc.dto.AccAccountDto)28 ConfidentialString (eu.bcvsolutions.idm.core.security.api.domain.ConfidentialString)19 SysSchemaAttributeFilter (eu.bcvsolutions.idm.acc.dto.filter.SysSchemaAttributeFilter)12 PasswordChangeDto (eu.bcvsolutions.idm.core.api.dto.PasswordChangeDto)12 OperationResult (eu.bcvsolutions.idm.core.api.entity.OperationResult)12 SysSchemaAttributeDto (eu.bcvsolutions.idm.acc.dto.SysSchemaAttributeDto)11 SysSystemAttributeMappingFilter (eu.bcvsolutions.idm.acc.dto.filter.SysSystemAttributeMappingFilter)10 Transactional (org.springframework.transaction.annotation.Transactional)10