Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <resource xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" oid="MISE-Human_Resources" version="31">
- <name>Human_Resources</name>
- <fetchResult>
- <operation>com.evolveum.midpoint.provisioning.api.ProvisioningService.getObject</operation>
- <status>success</status>
- <params>
- <entry key="options">
- <unknownJavaObject>
- <class>java.util.ArrayList</class>
- <toString>[ObjectOperationOptions(null: GetOperationOptions(resolve=null, resolveNames=true,noFetch=null, raw=null, doNotDiscovery=null, retrieve=null, allowNotFound=null, relationalValueSearchQuery=null))]</toString>
- </unknownJavaObject>
- </entry>
- <entry key="oid">
- <paramValue>MISE-Human_Resources</paramValue>
- </entry>
- <entry key="type">
- <unknownJavaObject>
- <class>java.lang.Class</class>
- <toString>class com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType</toString>
- </unknownJavaObject>
- </entry>
- </params>
- <context>
- <entry key="implementationClass">
- <unknownJavaObject>
- <class>java.lang.Class</class>
- <toString>class com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl</toString>
- </unknownJavaObject>
- </entry>
- </context>
- <token>1000000000000311649</token>
- <partialResults>
- <operation>com.evolveum.midpoint.repo.api.RepositoryService.getVersion</operation>
- <status>success</status>
- <params>
- <entry key="oid">
- <paramValue>MISE-Human_Resources</paramValue>
- </entry>
- <entry key="type">
- <paramValue>com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType</paramValue>
- </entry>
- </params>
- <token>1000000000000311650</token>
- </partialResults>
- </fetchResult>
- <metadata>
- <createTimestamp>2016-04-27T11:53:04.580+02:00</createTimestamp>
- <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"/>
- <createChannel>http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</createChannel>
- <modifyTimestamp>2016-04-27T17:07:27.706+02:00</modifyTimestamp>
- <modifierRef xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="00000000-0000-0000-0000-000000000002" type="tns:UserType"/>
- <modifyChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</modifyChannel>
- </metadata>
- <operationalState>
- <lastAvailabilityStatus>up</lastAvailabilityStatus>
- </operationalState>
- <connectorRef oid="a17946d3-edbd-419a-a216-7f84cbd46bf3" type="c:ConnectorType">
- <!-- ICF org.identityconnectors.databasetable.DatabaseTableConnector v1.4.0.49 -->
- <filter>
- <q:equal>
- <q:path xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3">c:connectorType</q:path>
- <q:value>org.identityconnectors.databasetable.DatabaseTableConnector</q:value>
- </q:equal>
- </filter>
- </connectorRef>
- <connectorConfiguration xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
- <icfc:configurationProperties xmlns:gen134="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-databasetable/org.identityconnectors.databasetable.DatabaseTableConnector">
- <gen134:host>SQLSHARESCLU</gen134:host>
- <gen134:port>3306</gen134:port>
- <gen134:user>idm_owner</gen134:user>
- <gen134:password>
- <t:encryptedData>
- <t:encryptionMethod>
- <t:algorithm>http://www.w3.org/2001/04/xmlenc#aes128-cbc</t:algorithm>
- </t:encryptionMethod>
- <t:keyInfo>
- <t:keyName>Gz8q32rfverer5gbr6h6cVA=</t:keyName>
- </t:keyInfo>
- <t:cipherData>
- <t:cipherValue>Gz8q32rfverer5gbr6h6cVA=qgSFoG18zZlAMlTW1lxww=</t:cipherValue>
- </t:cipherData>
- </t:encryptedData>
- </gen134:password>
- <gen134:database>MiSE_SPCustomViews</gen134:database>
- <gen134:table>IDM_VW_Assignment_HR</gen134:table>
- <gen134:keyColumn>ID</gen134:keyColumn>
- <gen134:jdbcDriver>com.microsoft.sqlserver.jdbc.SQLServerDriver</gen134:jdbcDriver>
- <gen134:jdbcUrlTemplate>jdbc:sqlserver://SQLSHARESCLU\SQLSHARES;database=MiSE_SPCustomViews</gen134:jdbcUrlTemplate>
- <gen134:enableEmptyString>false</gen134:enableEmptyString>
- <gen134:rethrowAllSQLExceptions>true</gen134:rethrowAllSQLExceptions>
- <gen134:nativeTimestamps>false</gen134:nativeTimestamps>
- <gen134:allNative>false</gen134:allNative>
- <gen134:changeLogColumn>DataVariazioneAssegnazione</gen134:changeLogColumn>
- </icfc:configurationProperties>
- </connectorConfiguration>
- <schema>
- <cachingMetadata>
- <retrievalTimestamp>2016-04-27T11:53:07.217+02:00</retrievalTimestamp>
- <serialNumber>1b1515f2af475c59-3b81ea477ee43484</serialNumber>
- </cachingMetadata>
- <definition>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" elementFormDefault="qualified" targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">
- <xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-3"/>
- <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"/>
- <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"/>
- <xsd:complexType name="AccountObjectClass">
- <xsd:annotation>
- <xsd:appinfo>
- <ra:resourceObject/>
- <ra:identifier>icfs:uid</ra:identifier>
- <ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier>
- <ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
- <ra:namingAttribute>icfs:name</ra:namingAttribute>
- <ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
- <ra:kind>account</ra:kind>
- <ra:default>true</ra:default>
- </xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element minOccurs="0" name="DataFineAssegnazione" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>120</a:displayOrder>
- <ra:frameworkAttributeName>DataFineAssegnazione</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="Area" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>130</a:displayOrder>
- <ra:frameworkAttributeName>Area</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="Divisione" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>140</a:displayOrder>
- <ra:frameworkAttributeName>Divisione</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="Direzione" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>150</a:displayOrder>
- <ra:frameworkAttributeName>Direzione</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="Cognome" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>160</a:displayOrder>
- <ra:frameworkAttributeName>Cognome</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element ref="icfs:name">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayName>ConnId Name</a:displayName>
- <a:displayOrder>110</a:displayOrder>
- <ra:frameworkAttributeName>__NAME__</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="CodiceFiscale" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>170</a:displayOrder>
- <ra:frameworkAttributeName>CodiceFiscale</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="Nome" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>180</a:displayOrder>
- <ra:frameworkAttributeName>Nome</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="DataInizioAssegnazione" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>190</a:displayOrder>
- <ra:frameworkAttributeName>DataInizioAssegnazione</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" name="Posizione" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayOrder>200</a:displayOrder>
- <ra:frameworkAttributeName>Posizione</ra:frameworkAttributeName>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element minOccurs="0" ref="icfs:uid">
- <xsd:annotation>
- <xsd:appinfo>
- <a:displayName>ConnId UID</a:displayName>
- <a:displayOrder>100</a:displayOrder>
- <a:access>read</a:access>
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
- </definition>
- </schema>
- <schemaHandling>
- <objectType>
- <displayName>Default Account</displayName>
- <default>true</default>
- <objectClass>ri:AccountObjectClass</objectClass>
- <attribute>
- <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:DataFineAssegnazione</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <target>
- <c:path>$user/extension/DataFineHR</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:DataInizioAssegnazione</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <target>
- <c:path>$user/extension/DataInizioHR</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:name</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <expression>
- <script>
- <code>
- 'Interno'
- </code>
- </script>
- </expression>
- <target>
- <c:path>$user/extension/tipologia</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:Area</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <source>
- <c:path>$account/attributes/Area</c:path>
- </source>
- <source>
- <c:path>$account/attributes/Posizione</c:path>
- </source>
- <expression>
- <script>
- <code>
- if (Area == 'AD'){
- if (Posizione == 'D1'){
- return false
- }
- else return true
- }
- else return false
- </code>
- </script>
- </expression>
- <target>
- <c:path>$user/extension/isDirettore</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:CodiceFiscale</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <target>
- <c:path>$user/extension/CodiceFiscale</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:Direzione</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <target>
- <c:path>$user/extension/DirezioneHR</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:Divisione</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <target>
- <c:path>$user/extension/DivisioneHR</c:path>
- </target>
- </inbound>
- </attribute>
- <attribute>
- <c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:uid</c:ref>
- <tolerant>true</tolerant>
- <exclusiveStrong>false</exclusiveStrong>
- <inbound>
- <authoritative>true</authoritative>
- <exclusive>false</exclusive>
- <strength>normal</strength>
- <target>
- <c:path>$user/extension/IDHR</c:path>
- </target>
- </inbound>
- </attribute>
- <activation>
- <administrativeStatus>
- <outbound/>
- <inbound>
- <strength>weak</strength>
- </inbound>
- </administrativeStatus>
- </activation>
- <credentials>
- <password>
- <outbound/>
- <inbound>
- <strength>weak</strength>
- <expression>
- <generate/>
- </expression>
- </inbound>
- </password>
- </credentials>
- </objectType>
- </schemaHandling>
- <capabilities>
- <cachingMetadata>
- <retrievalTimestamp>2016-04-27T11:54:16.337+02:00</retrievalTimestamp>
- <serialNumber>2f10acd665d7f2a7-aa384573754e9c56</serialNumber>
- </cachingMetadata>
- <native xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
- <cap:addRemoveAttributeValues/>
- <cap:liveSync/>
- <cap:testConnection/>
- <cap:create/>
- <cap:read/>
- <cap:update/>
- <cap:delete/>
- <cap:script>
- <cap:host>
- <cap:type>connector</cap:type>
- </cap:host>
- </cap:script>
- </native>
- <configured xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
- <cap:activation>
- <cap:status>
- <cap:attribute>ri:disabled</cap:attribute>
- <cap:enableValue/>
- <cap:enableValue>false</cap:enableValue>
- <cap:disableValue>true</cap:disableValue>
- </cap:status>
- </cap:activation>
- <cap:liveSync>
- <cap:enabled>true</cap:enabled>
- </cap:liveSync>
- <cap:read>
- <cap:enabled>true</cap:enabled>
- </cap:read>
- <cap:testConnection>
- <cap:enabled>true</cap:enabled>
- </cap:testConnection>
- </configured>
- </capabilities>
- <synchronization>
- <objectSynchronization>
- <objectClass>ri:AccountObjectClass</objectClass>
- <kind>account</kind>
- <focusType>c:UserType</focusType>
- <enabled>true</enabled>
- <correlation>
- <q:equal>
- <q:path xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3">c:extension/CodiceFiscale</q:path>
- <expression>
- <c:path>$account/attributes/CodiceFiscale</c:path>
- </expression>
- </q:equal>
- </correlation>
- <reconcile>false</reconcile>
- <reaction>
- <situation>linked</situation>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#modifyUser</handlerUri>
- </action>
- </reaction>
- <reaction>
- <situation>deleted</situation>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlinkAccount</handlerUri>
- </action>
- </reaction>
- <reaction>
- <situation>unlinked</situation>
- <reconcile>false</reconcile>
- <action>
- <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#linkAccount</handlerUri>
- </action>
- </reaction>
- </objectSynchronization>
- </synchronization>
- </resource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement