<?xml version='1.0' encoding='UTF-8'?>

<Properties version="4.1">
	<Property name="xslt.base64Zipped">true</Property>
	<Property name="xslt.ignoreInput">false</Property>
	<Property name="xslt.params" type="List">
		<Property name="var.session">var.session</Property>
	</Property>
	<Property name="xslt.saveAtServer">true</Property>
	<Property name="xslt.setAllVariablesAsTransformerParams">true</Property>
	<Property name="xslt.source">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;ResultSets>&lt;resultSet queryID="user">&lt;row>&lt;ID>bpcadmin&lt;/ID>&lt;DISPLAYNAME>Timo Virt&lt;/DISPLAYNAME>&lt;LOGINNAME>bpcadmin&lt;/LOGINNAME>&lt;NAME>Timo Virt&lt;/NAME>&lt;EMAILADDRESS/>&lt;ACTIVE>1&lt;/ACTIVE>&lt;LOCALE>de_DE&lt;/LOCALE>&lt;LANGUAGE>de&lt;/LANGUAGE>&lt;COUNTRY>DE&lt;/COUNTRY>&lt;LASTUPDATEDON>2020-06-25T02:43:29.406Z&lt;/LASTUPDATEDON>&lt;/row>&lt;/resultSet>&lt;resultSet queryID="organizations">&lt;row>&lt;ID>ckfest&lt;/ID>&lt;ACTIVE>1&lt;/ACTIVE>&lt;DISPLAYNAME>ckfest&lt;/DISPLAYNAME>&lt;NAME/>&lt;CONFIGURATION/>&lt;/row>&lt;row>&lt;ID>cktest&lt;/ID>&lt;ACTIVE>1&lt;/ACTIVE>&lt;DISPLAYNAME>HALLO&lt;/DISPLAYNAME>&lt;NAME>HALLO&lt;/NAME>&lt;CONFIGURATION>&amp;lt;configuration&amp;gt;&amp;lt;cool&amp;gt;Jazz&amp;lt;/cool&amp;gt;&amp;lt;/configuration&amp;gt;&lt;/CONFIGURATION>&lt;/row>&lt;row>&lt;ID>DEFAULT&lt;/ID>&lt;ACTIVE>1&lt;/ACTIVE>&lt;DISPLAYNAME>DEFAULT&lt;/DISPLAYNAME>&lt;NAME/>&lt;CONFIGURATION/>&lt;/row>&lt;row>&lt;ID>Test Organisations&lt;/ID>&lt;ACTIVE>1&lt;/ACTIVE>&lt;DISPLAYNAME>Test Organisations&lt;/DISPLAYNAME>&lt;NAME/>&lt;CONFIGURATION/>&lt;/row>&lt;/resultSet>&lt;resultSet queryID="roles">&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>aClientRole&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>aRealmRole&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>BGroß&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>bKlein&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>bpcadmin&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>bpcuser&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>fullmetaljacket&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>halloQuan&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>offline_access&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>uma_authorization&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>VAM-administrator&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>VAM_organization_ckfest&lt;/ROLE>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;ROLE>VAM_organization_cktest&lt;/ROLE>&lt;/row>&lt;/resultSet>&lt;resultSet queryID="permissions">&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>create&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>delete&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>executeAction&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>get&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>getActionAttributes&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>query&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>asset&lt;/CONTEXT>&lt;METHOD>update&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>query&lt;/CONTEXT>&lt;METHOD>create&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>query&lt;/CONTEXT>&lt;METHOD>delete&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>query&lt;/CONTEXT>&lt;METHOD>get&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>query&lt;/CONTEXT>&lt;METHOD>query&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>query&lt;/CONTEXT>&lt;METHOD>update&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>create&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>delete&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>executeAction&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>get&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>getActionAttributes&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>getImage&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>query&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>setImage&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>am&lt;/MODULE>&lt;CONTEXT>template&lt;/CONTEXT>&lt;METHOD>update&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>api&lt;/MODULE>&lt;CONTEXT>organization&lt;/CONTEXT>&lt;METHOD>getConfiguration&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>api&lt;/MODULE>&lt;CONTEXT>organization&lt;/CONTEXT>&lt;METHOD>setConfiguration&lt;/METHOD>&lt;/row>&lt;row>&lt;USERID>bpcadmin&lt;/USERID>&lt;MODULE>api&lt;/MODULE>&lt;CONTEXT>organization&lt;/CONTEXT>&lt;METHOD>setName&lt;/METHOD>&lt;/row>&lt;/resultSet>&lt;/ResultSets></Property>
	<Property name="xslt.sourceVariables" type="Map">
		<Property name="ISCurrentTime">1595254941001</Property>
		<Property name="ISWorkflowName">VAM_api_database_query</Property>
		<Property name="ISModuleName">If@@@Begin</Property>
		<Property name="ISModuleId">3</Property>
		<Property name="ISProcessId">11646482</Property>
		<Property name="ISUserName">kaufhold</Property>
		<Property name="ISServerName">dev04.virtimo.net</Property>
		<Property name="ISGlobalProcessId">11646482</Property>
		<Property name="ISInvokingWorkflow">VAM_api_main_attachUser</Property>
		<Property name="ISInvokingModule">VAM_api_wfc_userFromDB</Property>
		<Property name="var.loginName">bpcadmin</Property>
		<Property name="var.session" type="XmlDocument">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;session>&lt;configuration>&lt;api>&lt;database>&lt;type>postgresql&lt;/type>&lt;default>&lt;alertTimeout>20&lt;/alertTimeout>&lt;queryTimeout>60&lt;/queryTimeout>&lt;/default>&lt;/database>&lt;entity>&lt;validate>false&lt;/validate>&lt;/entity>&lt;response>&lt;debuggingInformation>false&lt;/debuggingInformation>&lt;format>false&lt;/format>&lt;validate>true&lt;/validate>&lt;/response>&lt;user>&lt;maxAge>P0DT2H0M5S&lt;/maxAge>&lt;/user>&lt;technicalUser>&lt;loginName>sys&lt;/loginName>&lt;/technicalUser>&lt;alerting>&lt;recipient>&lt;eMailAddress>kaufhold@virtimo.de &lt;/eMailAddress>&lt;/recipient>&lt;mail>&lt;host>smtp.googlemail.com&lt;/host>&lt;sender>&lt;eMailAddress>jochen@virtimo.net &lt;/eMailAddress>&lt;/sender>&lt;debuggingInformation>true&lt;/debuggingInformation>&lt;/mail>&lt;/alerting>&lt;backend>&lt;imnot>&lt;url>https://localhost:7080/im/1/rest/&lt;/url>&lt;/imnot>&lt;bpc>&lt;hosts>&lt;item>&lt;key>dev04.virtimo.net:8191&lt;/key>&lt;url>http://localhost:8191/cxf/bpc-core/authentication&lt;/url>&lt;/item>&lt;item>&lt;key>dev04.virtimo.net:38181&lt;/key>&lt;url>http://localhost:38181/cxf/bpc-core/authentication&lt;/url>&lt;/item>&lt;item>&lt;key>mpm-dev.virtimo.net:8181&lt;/key>&lt;url>http://mpm-dev.virtimo.net:8181/cxf/bpc-core/authentication&lt;/url>&lt;/item>&lt;/hosts>&lt;/bpc>&lt;/backend>&lt;/api>&lt;am>&lt;entity>&lt;validate>false&lt;/validate>&lt;/entity>&lt;technicalUser>&lt;loginName>sys&lt;/loginName>&lt;/technicalUser>&lt;/am>&lt;userGroupName>VAM&lt;/userGroupName>&lt;/configuration>&lt;startTimestamp>1595254940534&lt;/startTimestamp>&lt;/session></Property>
		<Property name="var.log" type="XmlDocument">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;log>&lt;entries/>&lt;/log></Property>
		<Property name="var.storage">VAM_users</Property>
	</Property>
	<Property name="xslt.stylesheet" type="XmlDocument">&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:am="http://www.bosch-si.com/2013/AM" exclude-result-prefixes="#all" version="2.0">&lt;xsl:import href="inubitmodule://VAM_api_XSLT_Tools"/>  
  &lt;xsl:output method="xml" encoding="UTF-8"/>&lt;xsl:param name="var.session" as="element()"/>  
    
    
    
    
    
  &lt;xsl:template match="/*">&lt;xsl:variable name="var.user" select="resultSet[@queryID = 'user']/row" as="element()?"/>&lt;xsl:choose>&lt;xsl:when test="not(exists($var.user))">&lt;nouser/>&lt;/xsl:when>&lt;xsl:otherwise>&lt;user> 
      &lt;id> 
        &lt;xsl:value-of select="$var.user/ID"/> 
      &lt;/id>  
        
      &lt;displayName> 
        &lt;xsl:value-of select="$var.user/DISPLAYNAME"/> 
      &lt;/displayName>  
      &lt;loginName> 
        &lt;xsl:value-of select="$var.user/LOGINNAME"/> 
      &lt;/loginName>  
      &lt;name>&lt;xsl:value-of select="$var.user/NAME"/>&lt;/name>  
      &lt;eMailAddress> 
        &lt;xsl:value-of select="$var.user/EMAILADDRESS"/> 
      &lt;/eMailAddress>  
      &lt;active> 
        &lt;xsl:value-of select="$var.user/ACTIVE = '1'"/> 
      &lt;/active>  
      &lt;locale> 
        &lt;xsl:value-of select="$var.user/LOCALE"/> 
      &lt;/locale>  
      &lt;language> 
        &lt;xsl:value-of select="$var.user/LANGUAGE"/> 
      &lt;/language>  
      &lt;country> 
        &lt;xsl:value-of select="$var.user/COUNTRY"/> 
      &lt;/country>  
      &lt;organizations> 
        &lt;xsl:for-each select="resultSet[@queryID='organizations']/row"> 
          &lt;organization> 
            &lt;id> 
              &lt;xsl:value-of select="ID"/> 
            &lt;/id>  
            &lt;displayName> 
              &lt;xsl:value-of select="DISPLAYNAME"/> 
            &lt;/displayName>  
            &lt;name> 
              &lt;xsl:value-of select="NAME"/> 
            &lt;/name>&lt;configuration>&lt;xsl:if test="CONFIGURATION != ''">&lt;xsl:copy-of select="am:stringToNode(CONFIGURATION)/*"/>&lt;/xsl:if>&lt;/configuration>&lt;active>&lt;xsl:value-of select="ACTIVE = '1'"/>&lt;/active>  
              
              
              
             
          &lt;/organization> 
        &lt;/xsl:for-each> 
      &lt;/organizations>&lt;roles>&lt;xsl:for-each select="resultSet[@queryID = 'roles']/row"> 
          &lt;role> 
            &lt;xsl:value-of select="ROLE"/> 
          &lt;/role> 
        &lt;/xsl:for-each>&lt;/roles>  
        
        
        
        
        
       
    &lt;/user>&lt;/xsl:otherwise>&lt;/xsl:choose> 
     
  &lt;/xsl:template> 
&lt;/xsl:stylesheet></Property>
	<Property name="xslt.target"></Property>
	<Property name="xslt.transformer">net.sf.saxon.TransformerFactoryImpl</Property>
</Properties>