Redaction ゲートウェイ

storeCallPDP.xsl スタイル・シートの詳細。

storeCallPDP.xsl スタイル・シートを調べると、以下のことに気付きます。
  1. storeSendToPDP.xsl スタイル・シートが組み込まれています。これは、storeXAMLFW を呼び出すロジックを持つスタイル・シートです。
  2. storeSendToPDP 内のテンプレート call_PDP inside の呼び出し
  3. 呼び出しの応答からの決定の抽出 (例えば、「Permit」)。
  4. var:/context/response/displayfilter 値が allData.xsl または noPriceInfo.xsl のいずれかのスタイル・シートに設定されています。
  5. Reaction の XACML である storePrivateDataXACML.xml で、構造が StoreWSP シナリオで使用される構造とほぼ同じであることを検査します。 違いは、マネージャーの役割にアクセス権限がある点だけです。

storeCallPDP.xsl

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dp="http://www.datapower.com/extensions"
extension-element-prefixes="dp" exclude-result-prefixes="dp">
  <xsl:include href="storeSendToPDP.xsl" />
    <xsl:template match="/">
      <xsl:call-template name="call_PDP">
        <xsl:with-param name="resource" select="'StorePrivateData'" />
      </xsl:call-template>
      <xsl:variable name="decision">
        <xsl:copy-of select="dp:variable('var://context/snip/xacml/BacksideXacmlResponse')/*[local-name()=
		  'url-open']/*[localname()='
        response']/*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='Response']/*[local-name()=
		  'Result']/*[localname()='
        Decision']" />
      </xsl:variable>
      <xsl:message dp:priority="debug">
        <DECISION-FROM-RTSS>
          <xsl:value-of select="$decision" />
        </DECISION-FROM-RTSS>
      </xsl:message>
      <xsl:choose>
      <xsl:when test="$decision = 'Permit'">
        <xsl:message dp:priority="debug">****** SETTING THE PRIVATE FILTER ********</xsl:message>
        <dp:set-variable name="'var://context/response/displayFilter'" value="'local:///allData.xsl'" />
      </xsl:when>
      <xsl:otherwise>
        I<dp:set-variable name="'var://context/response/displayFilter'" value="'local:///noPriceInfo.xsl'" />
      </xsl:otherwise>
    </xsl:choose>
  </xsl:template>
</xsl:stylesheet>

概念 概念

フィードバック


タイム・スタンプ・アイコン 最終更新: 2012年10月16日


http://publib.boulder.ibm.com/infocenter/prodconn/v1r0m0/topic/com.ibm.scenarios.soawdpwsrr.doc/topics/csoa2_sample_redaction_policy.htm