Explorar o código

HPCC-15613 ConfigMgr - Copy Authentication

- Ensure that URL and Feature authentication is copied when
  using a security manager plugin.

Signed-off-by: Gleb Aronsky <gleb.aronsky@lexisnexis.com>
Gleb Aronsky %!s(int64=9) %!d(string=hai) anos
pai
achega
e68c5a4d2b
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      initfiles/componentfiles/configxml/@temp/esp_service.xsl

+ 1 - 3
initfiles/componentfiles/configxml/@temp/esp_service.xsl

@@ -205,13 +205,11 @@ xmlns:seisint="http://seisint.com"  xmlns:set="http://exslt.org/sets" exclude-re
                     <xsl:copy-of select="$bindingNode/@resourcesBasedn"/>
                     <xsl:copy-of select="$bindingNode/@resourcesBasedn"/>
                     <xsl:copy-of select="$bindingNode/@workunitsBasedn"/>
                     <xsl:copy-of select="$bindingNode/@workunitsBasedn"/>
                     <xsl:copy-of select="$bindingNode/@serverType"/>
                     <xsl:copy-of select="$bindingNode/@serverType"/>
-                    <xsl:for-each select="$bindingNode/Authenticate[@path='/']">
+                    <xsl:for-each select="$bindingNode/Authenticate">
                         <Location path="/" resource="{@resource}" required="{@access}" description="{@description}"/>
                         <Location path="/" resource="{@resource}" required="{@access}" description="{@description}"/>
                     </xsl:for-each>
                     </xsl:for-each>
                     <xsl:for-each select="$bindingNode/AuthenticateFeature[@authenticate='Yes']">
                     <xsl:for-each select="$bindingNode/AuthenticateFeature[@authenticate='Yes']">
-                        <xsl:if test="@service=$service">
                             <Feature name="{@name}" path="{@path}" resource="{@resource}" required="{@access}" description="{@description}"/>
                             <Feature name="{@name}" path="{@path}" resource="{@resource}" required="{@access}" description="{@description}"/>
-                        </xsl:if>
                     </xsl:for-each>
                     </xsl:for-each>
                 </Authenticate>
                 </Authenticate>
             </xsl:when>
             </xsl:when>