Advertisement
Guest User

Untitled

a guest
Apr 28th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 22.67 KB | None | 0 0
  1. <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">
  2.     <name>Human_Resources</name>
  3.     <fetchResult>
  4.         <operation>com.evolveum.midpoint.provisioning.api.ProvisioningService.getObject</operation>
  5.         <status>success</status>
  6.         <params>
  7.             <entry key="options">
  8.                 <unknownJavaObject>
  9.                     <class>java.util.ArrayList</class>
  10.                     <toString>[ObjectOperationOptions(null: GetOperationOptions(resolve=null, resolveNames=true,noFetch=null, raw=null, doNotDiscovery=null, retrieve=null, allowNotFound=null, relationalValueSearchQuery=null))]</toString>
  11.                 </unknownJavaObject>
  12.             </entry>
  13.             <entry key="oid">
  14.                 <paramValue>MISE-Human_Resources</paramValue>
  15.             </entry>
  16.             <entry key="type">
  17.                 <unknownJavaObject>
  18.                     <class>java.lang.Class</class>
  19.                     <toString>class com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType</toString>
  20.                 </unknownJavaObject>
  21.             </entry>
  22.         </params>
  23.         <context>
  24.             <entry key="implementationClass">
  25.                 <unknownJavaObject>
  26.                     <class>java.lang.Class</class>
  27.                     <toString>class com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl</toString>
  28.                 </unknownJavaObject>
  29.             </entry>
  30.         </context>
  31.         <token>1000000000000311649</token>
  32.         <partialResults>
  33.             <operation>com.evolveum.midpoint.repo.api.RepositoryService.getVersion</operation>
  34.             <status>success</status>
  35.             <params>
  36.                 <entry key="oid">
  37.                     <paramValue>MISE-Human_Resources</paramValue>
  38.                 </entry>
  39.                 <entry key="type">
  40.                     <paramValue>com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType</paramValue>
  41.                 </entry>
  42.             </params>
  43.             <token>1000000000000311650</token>
  44.         </partialResults>
  45.     </fetchResult>
  46.     <metadata>
  47.         <createTimestamp>2016-04-27T11:53:04.580+02:00</createTimestamp>
  48.         <creatorRef oid="00000000-0000-0000-0000-000000000002" type="c:UserType"/>
  49.         <createChannel>http://midpoint.evolveum.com/xml/ns/public/model/channels-3#objectImport</createChannel>
  50.         <modifyTimestamp>2016-04-27T17:07:27.706+02:00</modifyTimestamp>
  51.         <modifierRef xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" oid="00000000-0000-0000-0000-000000000002" type="tns:UserType"/>
  52.         <modifyChannel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</modifyChannel>
  53.     </metadata>
  54.     <operationalState>
  55.         <lastAvailabilityStatus>up</lastAvailabilityStatus>
  56.     </operationalState>
  57.     <connectorRef oid="a17946d3-edbd-419a-a216-7f84cbd46bf3" type="c:ConnectorType">
  58.         <!-- ICF org.identityconnectors.databasetable.DatabaseTableConnector v1.4.0.49 -->
  59.         <filter>
  60.             <q:equal>
  61.                 <q:path xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3">c:connectorType</q:path>
  62.                 <q:value>org.identityconnectors.databasetable.DatabaseTableConnector</q:value>
  63.             </q:equal>
  64.         </filter>
  65.     </connectorRef>
  66.     <connectorConfiguration xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
  67.         <icfc:configurationProperties xmlns:gen134="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-databasetable/org.identityconnectors.databasetable.DatabaseTableConnector">
  68.             <gen134:host>SQLSHARESCLU</gen134:host>
  69.             <gen134:port>3306</gen134:port>
  70.             <gen134:user>idm_owner</gen134:user>
  71.             <gen134:password>
  72.                 <t:encryptedData>
  73.                     <t:encryptionMethod>
  74.                         <t:algorithm>http://www.w3.org/2001/04/xmlenc#aes128-cbc</t:algorithm>
  75.                     </t:encryptionMethod>
  76.                     <t:keyInfo>
  77.                         <t:keyName>Gz8q32rfverer5gbr6h6cVA=</t:keyName>
  78.                     </t:keyInfo>
  79.                     <t:cipherData>
  80.                         <t:cipherValue>Gz8q32rfverer5gbr6h6cVA=qgSFoG18zZlAMlTW1lxww=</t:cipherValue>
  81.                     </t:cipherData>
  82.                 </t:encryptedData>
  83.             </gen134:password>
  84.             <gen134:database>MiSE_SPCustomViews</gen134:database>
  85.             <gen134:table>IDM_VW_Assignment_HR</gen134:table>
  86.             <gen134:keyColumn>ID</gen134:keyColumn>
  87.             <gen134:jdbcDriver>com.microsoft.sqlserver.jdbc.SQLServerDriver</gen134:jdbcDriver>
  88.             <gen134:jdbcUrlTemplate>jdbc:sqlserver://SQLSHARESCLU\SQLSHARES;database=MiSE_SPCustomViews</gen134:jdbcUrlTemplate>
  89.             <gen134:enableEmptyString>false</gen134:enableEmptyString>
  90.             <gen134:rethrowAllSQLExceptions>true</gen134:rethrowAllSQLExceptions>
  91.             <gen134:nativeTimestamps>false</gen134:nativeTimestamps>
  92.             <gen134:allNative>false</gen134:allNative>
  93.             <gen134:changeLogColumn>DataVariazioneAssegnazione</gen134:changeLogColumn>
  94.         </icfc:configurationProperties>
  95.     </connectorConfiguration>
  96.     <schema>
  97.         <cachingMetadata>
  98.             <retrievalTimestamp>2016-04-27T11:53:07.217+02:00</retrievalTimestamp>
  99.             <serialNumber>1b1515f2af475c59-3b81ea477ee43484</serialNumber>
  100.         </cachingMetadata>
  101.         <definition>
  102.             <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">
  103.                 <xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-3"/>
  104.                 <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"/>
  105.                 <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-3"/>
  106.                 <xsd:complexType name="AccountObjectClass">
  107.                     <xsd:annotation>
  108.                         <xsd:appinfo>
  109.                             <ra:resourceObject/>
  110.                             <ra:identifier>icfs:uid</ra:identifier>
  111.                             <ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier>
  112.                             <ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
  113.                             <ra:namingAttribute>icfs:name</ra:namingAttribute>
  114.                             <ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
  115.                             <ra:kind>account</ra:kind>
  116.                             <ra:default>true</ra:default>
  117.                         </xsd:appinfo>
  118.                     </xsd:annotation>
  119.                     <xsd:sequence>
  120.                         <xsd:element minOccurs="0" name="DataFineAssegnazione" type="xsd:string">
  121.                             <xsd:annotation>
  122.                                 <xsd:appinfo>
  123.                                     <a:displayOrder>120</a:displayOrder>
  124.                                     <ra:frameworkAttributeName>DataFineAssegnazione</ra:frameworkAttributeName>
  125.                                 </xsd:appinfo>
  126.                             </xsd:annotation>
  127.                         </xsd:element>
  128.                         <xsd:element minOccurs="0" name="Area" type="xsd:string">
  129.                             <xsd:annotation>
  130.                                 <xsd:appinfo>
  131.                                     <a:displayOrder>130</a:displayOrder>
  132.                                     <ra:frameworkAttributeName>Area</ra:frameworkAttributeName>
  133.                                 </xsd:appinfo>
  134.                             </xsd:annotation>
  135.                         </xsd:element>
  136.                         <xsd:element minOccurs="0" name="Divisione" type="xsd:string">
  137.                             <xsd:annotation>
  138.                                 <xsd:appinfo>
  139.                                     <a:displayOrder>140</a:displayOrder>
  140.                                     <ra:frameworkAttributeName>Divisione</ra:frameworkAttributeName>
  141.                                 </xsd:appinfo>
  142.                             </xsd:annotation>
  143.                         </xsd:element>
  144.                         <xsd:element minOccurs="0" name="Direzione" type="xsd:string">
  145.                             <xsd:annotation>
  146.                                 <xsd:appinfo>
  147.                                     <a:displayOrder>150</a:displayOrder>
  148.                                     <ra:frameworkAttributeName>Direzione</ra:frameworkAttributeName>
  149.                                 </xsd:appinfo>
  150.                             </xsd:annotation>
  151.                         </xsd:element>
  152.                         <xsd:element minOccurs="0" name="Cognome" type="xsd:string">
  153.                             <xsd:annotation>
  154.                                 <xsd:appinfo>
  155.                                     <a:displayOrder>160</a:displayOrder>
  156.                                     <ra:frameworkAttributeName>Cognome</ra:frameworkAttributeName>
  157.                                 </xsd:appinfo>
  158.                             </xsd:annotation>
  159.                         </xsd:element>
  160.                         <xsd:element ref="icfs:name">
  161.                             <xsd:annotation>
  162.                                 <xsd:appinfo>
  163.                                     <a:displayName>ConnId Name</a:displayName>
  164.                                     <a:displayOrder>110</a:displayOrder>
  165.                                     <ra:frameworkAttributeName>__NAME__</ra:frameworkAttributeName>
  166.                                 </xsd:appinfo>
  167.                             </xsd:annotation>
  168.                         </xsd:element>
  169.                         <xsd:element minOccurs="0" name="CodiceFiscale" type="xsd:string">
  170.                             <xsd:annotation>
  171.                                 <xsd:appinfo>
  172.                                     <a:displayOrder>170</a:displayOrder>
  173.                                     <ra:frameworkAttributeName>CodiceFiscale</ra:frameworkAttributeName>
  174.                                 </xsd:appinfo>
  175.                             </xsd:annotation>
  176.                         </xsd:element>
  177.                         <xsd:element minOccurs="0" name="Nome" type="xsd:string">
  178.                             <xsd:annotation>
  179.                                 <xsd:appinfo>
  180.                                     <a:displayOrder>180</a:displayOrder>
  181.                                     <ra:frameworkAttributeName>Nome</ra:frameworkAttributeName>
  182.                                 </xsd:appinfo>
  183.                             </xsd:annotation>
  184.                         </xsd:element>
  185.                         <xsd:element minOccurs="0" name="DataInizioAssegnazione" type="xsd:string">
  186.                             <xsd:annotation>
  187.                                 <xsd:appinfo>
  188.                                     <a:displayOrder>190</a:displayOrder>
  189.                                     <ra:frameworkAttributeName>DataInizioAssegnazione</ra:frameworkAttributeName>
  190.                                 </xsd:appinfo>
  191.                             </xsd:annotation>
  192.                         </xsd:element>
  193.                         <xsd:element minOccurs="0" name="Posizione" type="xsd:string">
  194.                             <xsd:annotation>
  195.                                 <xsd:appinfo>
  196.                                     <a:displayOrder>200</a:displayOrder>
  197.                                     <ra:frameworkAttributeName>Posizione</ra:frameworkAttributeName>
  198.                                 </xsd:appinfo>
  199.                             </xsd:annotation>
  200.                         </xsd:element>
  201.                         <xsd:element minOccurs="0" ref="icfs:uid">
  202.                             <xsd:annotation>
  203.                                 <xsd:appinfo>
  204.                                     <a:displayName>ConnId UID</a:displayName>
  205.                                     <a:displayOrder>100</a:displayOrder>
  206.                                     <a:access>read</a:access>
  207.                                 </xsd:appinfo>
  208.                             </xsd:annotation>
  209.                         </xsd:element>
  210.                     </xsd:sequence>
  211.                 </xsd:complexType>
  212.             </xsd:schema>
  213.         </definition>
  214.     </schema>
  215.     <schemaHandling>
  216.         <objectType>
  217.             <displayName>Default Account</displayName>
  218.             <default>true</default>
  219.             <objectClass>ri:AccountObjectClass</objectClass>
  220.             <attribute>
  221.                 <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:DataFineAssegnazione</c:ref>
  222.                 <tolerant>true</tolerant>
  223.                 <exclusiveStrong>false</exclusiveStrong>
  224.                 <inbound>
  225.                     <authoritative>true</authoritative>
  226.                     <exclusive>false</exclusive>
  227.                     <strength>normal</strength>
  228.                     <target>
  229.                         <c:path>$user/extension/DataFineHR</c:path>
  230.                     </target>
  231.                 </inbound>
  232.             </attribute>
  233.             <attribute>
  234.                 <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:DataInizioAssegnazione</c:ref>
  235.                 <tolerant>true</tolerant>
  236.                 <exclusiveStrong>false</exclusiveStrong>
  237.                 <inbound>
  238.                     <authoritative>true</authoritative>
  239.                     <exclusive>false</exclusive>
  240.                     <strength>normal</strength>
  241.                     <target>
  242.                         <c:path>$user/extension/DataInizioHR</c:path>
  243.                     </target>
  244.                 </inbound>
  245.             </attribute>
  246.             <attribute>
  247.                 <c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:name</c:ref>
  248.                 <tolerant>true</tolerant>
  249.                 <exclusiveStrong>false</exclusiveStrong>
  250.                 <inbound>
  251.                     <authoritative>true</authoritative>
  252.                     <exclusive>false</exclusive>
  253.                     <strength>normal</strength>
  254.                     <expression>
  255.                         <script>
  256.                             <code>
  257.                                 'Interno'
  258.                             </code>
  259.                         </script>
  260.                     </expression>
  261.                     <target>
  262.                         <c:path>$user/extension/tipologia</c:path>
  263.                     </target>
  264.                 </inbound>
  265.             </attribute>
  266.             <attribute>
  267.                 <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:Area</c:ref>
  268.                 <tolerant>true</tolerant>
  269.                 <exclusiveStrong>false</exclusiveStrong>
  270.                 <inbound>
  271.                     <authoritative>true</authoritative>
  272.                     <exclusive>false</exclusive>
  273.                     <strength>normal</strength>
  274.                     <source>
  275.                         <c:path>$account/attributes/Area</c:path>
  276.                     </source>
  277.                     <source>
  278.                         <c:path>$account/attributes/Posizione</c:path>
  279.                     </source>
  280.                     <expression>
  281.                         <script>
  282.                             <code>
  283.        if (Area == 'AD'){
  284.                if (Posizione == 'D1'){
  285.                         return false
  286.                }
  287.                else return true
  288.         }
  289.         else return false
  290.     </code>
  291.                         </script>
  292.                     </expression>
  293.                     <target>
  294.                         <c:path>$user/extension/isDirettore</c:path>
  295.                     </target>
  296.                 </inbound>
  297.             </attribute>
  298.             <attribute>
  299.                 <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:CodiceFiscale</c:ref>
  300.                 <tolerant>true</tolerant>
  301.                 <exclusiveStrong>false</exclusiveStrong>
  302.                 <inbound>
  303.                     <authoritative>true</authoritative>
  304.                     <exclusive>false</exclusive>
  305.                     <strength>normal</strength>
  306.                     <target>
  307.                         <c:path>$user/extension/CodiceFiscale</c:path>
  308.                     </target>
  309.                 </inbound>
  310.             </attribute>
  311.             <attribute>
  312.                 <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:Direzione</c:ref>
  313.                 <tolerant>true</tolerant>
  314.                 <exclusiveStrong>false</exclusiveStrong>
  315.                 <inbound>
  316.                     <authoritative>true</authoritative>
  317.                     <exclusive>false</exclusive>
  318.                     <strength>normal</strength>
  319.                     <target>
  320.                         <c:path>$user/extension/DirezioneHR</c:path>
  321.                     </target>
  322.                 </inbound>
  323.             </attribute>
  324.             <attribute>
  325.                 <c:ref xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">ri:Divisione</c:ref>
  326.                 <tolerant>true</tolerant>
  327.                 <exclusiveStrong>false</exclusiveStrong>
  328.                 <inbound>
  329.                     <authoritative>true</authoritative>
  330.                     <exclusive>false</exclusive>
  331.                     <strength>normal</strength>
  332.                     <target>
  333.                         <c:path>$user/extension/DivisioneHR</c:path>
  334.                     </target>
  335.                 </inbound>
  336.             </attribute>
  337.             <attribute>
  338.                 <c:ref xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">icfs:uid</c:ref>
  339.                 <tolerant>true</tolerant>
  340.                 <exclusiveStrong>false</exclusiveStrong>
  341.                 <inbound>
  342.                     <authoritative>true</authoritative>
  343.                     <exclusive>false</exclusive>
  344.                     <strength>normal</strength>
  345.                     <target>
  346.                         <c:path>$user/extension/IDHR</c:path>
  347.                     </target>
  348.                 </inbound>
  349.             </attribute>
  350.             <activation>
  351.                 <administrativeStatus>
  352.                     <outbound/>
  353.                     <inbound>
  354.                         <strength>weak</strength>
  355.                     </inbound>
  356.                 </administrativeStatus>
  357.             </activation>
  358.             <credentials>
  359.                 <password>
  360.                     <outbound/>
  361.                     <inbound>
  362.                         <strength>weak</strength>
  363.                         <expression>
  364.                             <generate/>
  365.                         </expression>
  366.                     </inbound>
  367.                 </password>
  368.             </credentials>
  369.         </objectType>
  370.     </schemaHandling>
  371.     <capabilities>
  372.         <cachingMetadata>
  373.             <retrievalTimestamp>2016-04-27T11:54:16.337+02:00</retrievalTimestamp>
  374.             <serialNumber>2f10acd665d7f2a7-aa384573754e9c56</serialNumber>
  375.         </cachingMetadata>
  376.         <native xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
  377.             <cap:addRemoveAttributeValues/>
  378.             <cap:liveSync/>
  379.             <cap:testConnection/>
  380.             <cap:create/>
  381.             <cap:read/>
  382.             <cap:update/>
  383.             <cap:delete/>
  384.             <cap:script>
  385.                 <cap:host>
  386.                     <cap:type>connector</cap:type>
  387.                 </cap:host>
  388.             </cap:script>
  389.         </native>
  390.         <configured xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
  391.             <cap:activation>
  392.                 <cap:status>
  393.                     <cap:attribute>ri:disabled</cap:attribute>
  394.                     <cap:enableValue/>
  395.                     <cap:enableValue>false</cap:enableValue>
  396.                     <cap:disableValue>true</cap:disableValue>
  397.                 </cap:status>
  398.             </cap:activation>
  399.             <cap:liveSync>
  400.                 <cap:enabled>true</cap:enabled>
  401.             </cap:liveSync>
  402.             <cap:read>
  403.                 <cap:enabled>true</cap:enabled>
  404.             </cap:read>
  405.             <cap:testConnection>
  406.                 <cap:enabled>true</cap:enabled>
  407.             </cap:testConnection>
  408.         </configured>
  409.     </capabilities>
  410.     <synchronization>
  411.         <objectSynchronization>
  412.             <objectClass>ri:AccountObjectClass</objectClass>
  413.             <kind>account</kind>
  414.             <focusType>c:UserType</focusType>
  415.             <enabled>true</enabled>
  416.             <correlation>
  417.                 <q:equal>
  418.                     <q:path xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3">c:extension/CodiceFiscale</q:path>
  419.                     <expression>
  420.                         <c:path>$account/attributes/CodiceFiscale</c:path>
  421.                     </expression>
  422.                 </q:equal>
  423.             </correlation>
  424.             <reconcile>false</reconcile>
  425.             <reaction>
  426.                 <situation>linked</situation>
  427.                 <reconcile>false</reconcile>
  428.                 <action>
  429.                     <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#modifyUser</handlerUri>
  430.                 </action>
  431.             </reaction>
  432.             <reaction>
  433.                 <situation>deleted</situation>
  434.                 <reconcile>false</reconcile>
  435.                 <action>
  436.                     <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlinkAccount</handlerUri>
  437.                 </action>
  438.             </reaction>
  439.             <reaction>
  440.                 <situation>unlinked</situation>
  441.                 <reconcile>false</reconcile>
  442.                 <action>
  443.                     <handlerUri>http://midpoint.evolveum.com/xml/ns/public/model/action-3#linkAccount</handlerUri>
  444.                 </action>
  445.             </reaction>
  446.         </objectSynchronization>
  447.     </synchronization>
  448. </resource>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement