Search in sources :

Example 11 with IcUidAttributeImpl

use of eu.bcvsolutions.idm.ic.impl.IcUidAttributeImpl in project CzechIdMng by bcvsolutions.

the class DefaultSysSystemService method readConnectorObject.

@Override
@Transactional
public IcConnectorObject readConnectorObject(UUID systemId, String uid, IcObjectClass objectClass) {
    Assert.notNull(systemId, "System ID cannot be null!");
    Assert.notNull(uid, "Account UID cannot be null!");
    SysSystemDto system = this.get(systemId);
    Assert.notNull(system, "System cannot be null!");
    return connectorFacade.readObject(system.getConnectorInstance(), this.getConnectorConfiguration(system), objectClass, new IcUidAttributeImpl(null, uid, null));
}
Also used : IcUidAttributeImpl(eu.bcvsolutions.idm.ic.impl.IcUidAttributeImpl) SysSystemDto(eu.bcvsolutions.idm.acc.dto.SysSystemDto) Transactional(org.springframework.transaction.annotation.Transactional)

Aggregations

IcUidAttributeImpl (eu.bcvsolutions.idm.ic.impl.IcUidAttributeImpl)11 IcConnectorObject (eu.bcvsolutions.idm.ic.api.IcConnectorObject)9 SysSystemDto (eu.bcvsolutions.idm.acc.dto.SysSystemDto)8 IcUidAttribute (eu.bcvsolutions.idm.ic.api.IcUidAttribute)7 IcObjectClass (eu.bcvsolutions.idm.ic.api.IcObjectClass)5 SysProvisioningOperationDto (eu.bcvsolutions.idm.acc.dto.SysProvisioningOperationDto)4 VsAccountDto (eu.bcvsolutions.idm.vs.dto.VsAccountDto)4 ProvisioningAttributeDto (eu.bcvsolutions.idm.acc.dto.ProvisioningAttributeDto)3 GuardedString (eu.bcvsolutions.idm.core.security.api.domain.GuardedString)3 IcAttribute (eu.bcvsolutions.idm.ic.api.IcAttribute)3 IcException (eu.bcvsolutions.idm.ic.exception.IcException)3 AbstractIntegrationTest (eu.bcvsolutions.idm.test.api.AbstractIntegrationTest)3 UUID (java.util.UUID)3 Test (org.junit.Test)3 SysSystemEntityDto (eu.bcvsolutions.idm.acc.dto.SysSystemEntityDto)2 SysProvisioningOperationFilter (eu.bcvsolutions.idm.acc.dto.filter.SysProvisioningOperationFilter)2 SysProvisioningOperation (eu.bcvsolutions.idm.acc.entity.SysProvisioningOperation)2 IcConnectorInstance (eu.bcvsolutions.idm.ic.api.IcConnectorInstance)2 ImmutableMap (com.google.common.collect.ImmutableMap)1 SysSystem_ (eu.bcvsolutions.idm.acc.entity.SysSystem_)1