Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
REMOTE(hostname=ip of RL port=8190 kmo='SSL CertificateIP' something='Else')
REMOTE(hostname=10.100.100.41 port=8090 )jdbc:oracle:thin:@10.100.100.41:1555:AVDB
REMOTE(hostname=RemoteLoaderIP port=8090 kmo='SSL CertificateIP')DomainControllerDNSName
<?xml version="1.0" encoding="UTF-8"?>
<configuration-values>
<definitions>
<header display-name="Remote Loader"/>
<group>
<definition display-name="Connect To Remote Loader"
name="use-remote-loader" type="enum">
<description/>
<enum-choice display-name="yes">true</enum-choice>
<enum-choice display-name="no">false</enum-choice>
<value>true</value>
</definition>
<subordinates active-value="true">
<definition display-name="Host Name" name="rl-hostname" type="string">
<description>Enter the Host Name or IP Address where the Remote
Loader Service has been installed and is running for this driver.
[Host Name or IP Address; ###.###.###.###]</description>
<value/>
</definition>
<definition display-name="Port" name="rl-port" range-hi=""
range-lo="" type="integer">
<description>Enter the Port Number where the Remote Loader
Service has been installed and is running for this driver. The Default
Port is 8090.</description>
<value>8090</value>
</definition>
<definition display-name="Remote Password" name="rl-password"
type="password-ref">
<description>The Remote Loader password is used to control access
to the Remote Loader instance. It must be the same password that is
specified as the Remote Loader password on the Identity Manager Remote
Loader.</description>
<value>rl-password</value>
</definition>
<definition display-name="Driver Password" name="driver-password"
type="password-ref">
<description>The Driver Object Password is used by the Remote
Loader to authenticate itself to the Identity Manager server. It must
be the same password that is specified as the Driver Object Password
on the Identity Manager Remote Loader.</description>
<value>driver-password</value>
</definition>
</subordinates>
</group>
</definitions>
</configuration-values>
REMOTE(hostname='someServer.acme.com port='8190')
8190 kmo='SSL CertificateIP'
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--
Remote Loader - Prompt Style Sheet
==================================
This style sheet handles the special Remote Loader configuration prompts.
It also works in combination with the initial settings style
sheets to correctly overload the shim-auth-server and the
shim-auth-password with the remote loader parameters and password.
This style sheet is applied to the XML representation of the prompts
(GCV's) for this prompt resource before the prompts are displayed for
input.
Updated: 20100915
-->
<!--
defsDoc
=======
XML document containing the prompts (configuration value definitions)
including their values that were entered for this prompt page.
Sample document:
<configuration-values>
<definitions>
<header display-name="Authentication"/>
<definition display-name="SAP User ID" mandatory="true"
name="shim-auth-id" type="string">
<description>The ID of the User this driver will use for SAP
Logon. This is referred to as 'User' in the SAP Logon
screen.</description>
<value>idmdriver</value>
</definition>
<definition display-name="SAP User Password" mandatory="true"
name="shim-auth-password" type="password-ref">
<description>The User password this driver will use for SAP Logon.
This is referred to as 'Password' in the SAP Logon
screen.</description>
<value>shim-auth-password</value>
</definition>
</definitions>
</configuration-values>
-->
<xsl:param name="defsDoc"/>
<!--
curDoc
======
In the case of an upgrade or downgrade, this parameter contains the XML
content of the currently installed prompt target.
Sample document (only an excerpt, these docs are rather large):
<ds-attributes>
<ds-attribute ds-attr-name="shim-auth-id">
<ds-value>idmdriver</ds-value>
</ds-attribute>
<ds-attribute ds-attr-name="shim-auth-server">
<ds-value>127.0.0.1</ds-value>
</ds-attribute>
<ds-attribute ds-attr-name="driver-start-option">
<ds-value>2</ds-value>
</ds-attribute>
</ds-attributes>
-->
<xsl:param name="curDoc"/>
<!--
npDoc
=====
In the case of an upgrade or downgrade, this parameter contains an XML
representation of all named password available on the prompt target.
Note:
Only the names of existing passwords are available, not their values. If a
named password has been set through a prompt, both its name and value are
available.
Note2:
To set a named password, append the following structure to the target
(target must support named passwords):
<ds-attribute ds-attr-name="named-password">
<ds-value display-name="Password 1" name="pwd1">1</ds-value>
<ds-value display-name="Password 2" name="pwd2">2</ds-value>
</ds-attribute>
Sample document:
<named-passwords>
<named-password name="promptedPwd">promptedValue</named-password>
<named-password name="existingPwd"/>
</named-passwords>
-->
<xsl:param name="npDoc"/>
<!--
propertyWizard
==============
Flag (true or false) indicating if the installation is from the package
installation wizard (PIW, launched from the "Packages" property page) or
from the driver configuration wizard (DCW, launched by installing a new
driver). This flag can be useful to show or hide prompts or to set or not
set values based on which wizard is being run.
E.g. the driver name should only be prompted for in the DCW, not in the
PIW where the driver already exists.
Possible values:
'true' -> PIW
'false' -> DCW
-->
<xsl:param name="propertyWizard"/>
<!-- identity transformation template -->
<xsl:template match="definition[@name='use-remote-loader']/value">
<xsl:variable name="shimAuthServer"
select="$curDoc//ds-value[../@ds-attr-name='shim-auth-server']/text()"/>
<xsl:choose>
<!-- use remote loader if the driver is already configured to use
the remote loader -->
<xsl:when test="starts-with($shimAuthServer, 'REMOTE(')">
<value>true</value>
</xsl:when>
<!-- don't use remote loader if the driver is not configured to use
the remote loader -->
<xsl:when test="string-length($shimAuthServer)>0">
<value>false</value>
</xsl:when>
<!-- if we can't tell, use the prompt default setting -->
<xsl:otherwise>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="definition[@name='rl-hostname']/value">
<xsl:variable name="shimAuthServer"
select="$curDoc//ds-value[../@ds-attr-name='shim-auth-server']/text()"/>
<xsl:choose>
<xsl:when test="starts-with($shimAuthServer, 'REMOTE(')">
<xsl:variable name="hostName"
select="translate(substring-before(substring-after($shimAuthServer,
'REMOTE(hostname='), ' '), ' ', '')"/>
<value>
<xsl:value-of select="$hostName"/>
</value>
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="definition[@name='rl-port']/value">
<xsl:variable name="shimAuthServer"
select="$curDoc//ds-value[../@ds-attr-name='shim-auth-server']/text()"/>
<xsl:choose>
<xsl:when test="starts-with($shimAuthServer, 'REMOTE(')">
<xsl:variable name="port"
select="translate(substring-before(substring-after($shimAuthServer,
'port='), ')'), ' ', '')"/>
<value>
<xsl:value-of select="$port"/>
</value>
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="definition[@name='rl-password']/value">
<xsl:variable name="shimAuthPwd"
select="$curDoc//ds-value[../@ds-attr-name='shim-auth-password']/text()"/>
<xsl:choose>
<xsl:when test="starts-with($shimAuthPwd, 'REMOTE(')">
<xsl:variable name="rlPwd"
select="substring-before(substring-after($shimAuthPwd, 'REMOTE('),
')')"/>
<value>
<xsl:value-of select="$rlPwd"/>
</value>
</xsl:when>
<xsl:otherwise>
<value/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Probably this part:
<xsl:template match="definition[@name='rl-port']/value">
<xsl:variable name="shimAuthServer"
select="$curDoc//ds-value[../@ds-attr-name='shim-auth-server']/text()"/>
<xsl:choose>
<xsl:when test="starts-with($shimAuthServer, 'REMOTE(')">
<xsl:variable name="port"
select="translate(substring-before(substring-after($shimAuthServer,
'port='), ')'), ' ', '')"/>
<value>
<xsl:value-of select="$port"/>
</value>
</xsl:when>
<xsl:otherwise>
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<definition display-name="SSL Certificate Name" name="rl-kmo" type="string">
<description>If you wish to use SSL, then specify the name of the Key Material Object in eDirectory, without the ending that names the server. Thus in eDir you might have SSL CertificateIP - ServerName and here you would just enter SSL CertificateIP</description>
<value>rl-cert</value>
</definition>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>