diff options
| author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-07-22 14:42:48 +0000 | 
|---|---|---|
| committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-07-22 14:42:48 +0000 | 
| commit | 7b75966c37c20a8cc4ddfe61fd76574978aa81fd (patch) | |
| tree | 612ae825227dcf49676715428474304e0d326f54 /id.server/data/deploy | |
| parent | 3ecc2f113f0b29926fea6b71346727bccc042e6e (diff) | |
| download | moa-id-spss-7b75966c37c20a8cc4ddfe61fd76574978aa81fd.tar.gz moa-id-spss-7b75966c37c20a8cc4ddfe61fd76574978aa81fd.tar.bz2 moa-id-spss-7b75966c37c20a8cc4ddfe61fd76574978aa81fd.zip | |
updated transformations to handle wbpk
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@388 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/data/deploy')
| -rw-r--r-- | id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml | 14 | ||||
| -rw-r--r-- | id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlockText.xml | 10 | 
2 files changed, 19 insertions, 5 deletions
| diff --git a/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml b/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml index 0ac3ab500..b17224061 100644 --- a/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml +++ b/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlock.xml @@ -1,6 +1,6 @@  <?xml version="1.0" encoding="UTF-8"?>  <VerifyTransformsInfoProfile xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> -<dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#">  <xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml">  <html>  <body> @@ -8,10 +8,18 @@ Bitte bestätigen Sie mit Ihrer Unterschrift folgende Angaben:  <br/>  <table border="1">  <tr><td><b>Name:</b></td><td><xsl:value-of select="//@Issuer"/></td></tr> -<tr><td><b>Zeit:</b></td><td><xsl:value-of select="substring(//@IssueInstant,9,2)"/>.<xsl:value-of select="substring(//@IssueInstant,6,2)"/>.<xsl:value-of select="substring(//@IssueInstant,1,4)"/>, <xsl:value-of select="substring(//@IssueInstant,12,2)"/>:<xsl:value-of select="substring(//@IssueInstant,15,2)"/>:<xsl:value-of select="substring(//@IssueInstant,18,2)"/></td></tr> +<tr><td><b>Geburtsdatum:</b></td><td><xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"/>.<xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"/>.<xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,3,2)"/></td></tr>  <tr><td><b>Applikation:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName='OA']/saml:AttributeValue"/></td></tr> -<tr><td><b>Geschäftsbereich:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName='Geschaeftsbereich']/saml:AttributeValue"/></td></tr> +<xsl:if test="//saml:Attribute[@AttributeName='Geschaeftsbereich']"> +	<tr><td><b>Geschäftsbereich:</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName='Geschaeftsbereich']/saml:AttributeValue"/></td></tr> +</xsl:if>  <tr><td><b>Anmeldeserver:</b></td><td><xsl:value-of select="//saml:NameIdentifier"/></td></tr> +<tr><td><b>Datum:</b></td><td><xsl:value-of select="substring(//@IssueInstant,9,2)"/>.<xsl:value-of select="substring(//@IssueInstant,6,2)"/>.<xsl:value-of select="substring(//@IssueInstant,1,4)"/></td></tr> +<tr><td><b>Uhrzeit:</b></td><td><xsl:value-of select="substring(//@IssueInstant,12,2)"/>:<xsl:value-of select="substring(//@IssueInstant,15,2)"/>:<xsl:value-of select="substring(//@IssueInstant,18,2)"/></td></tr> +<xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> +	<tr><td><b>wbPK (*):</b></td><td><xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"/></td></tr> +	<tr><td colspan="2"><font size="2">(*): Das <i>Wirtschaftsbereichsspezifische Personenkennzeichen (wbPK)</i> wird aus den jeweiligen Stammzahlen des Buergers und des Wirtschaftsunternehmens berechnet und ermoeglicht eine eindeutige Zuordnung des Buergers zum Wirtschaftsunternehmen.</font></td></tr> +</xsl:if>  </table>  </body>  </html> diff --git a/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlockText.xml b/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlockText.xml index 17accf699..c7d656203 100644 --- a/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlockText.xml +++ b/id.server/data/deploy/conf/moa-spss/profiles/MOAIDTransformAuthBlockText.xml @@ -3,7 +3,7 @@  	<dsig:Transforms>  		<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>  		<dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> -			<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"> +			<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#">  				<xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml">  							<html>  							<head> @@ -12,11 +12,17 @@  						<body>  <h1>Signatur der Anmeldedaten</h1>  <p></p> -<h4>Mit meiner elektronischen Signatur beantrage ich <b><xsl:value-of select="//@Issuer"/></b>,  +<h4>Mit meiner elektronischen Signatur beantrage ich, <b><xsl:value-of select="//@Issuer"/></b>,   geboren am   <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"/>.<xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"/>.<xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,3,2)"/>, den Zugang zur gesicherten Anwendung.</h4>  <p></p>  <h4>Datum und Uhrzeit: <xsl:value-of select="substring(//@IssueInstant,9,2)"/>.<xsl:value-of select="substring(//@IssueInstant,6,2)"/>.<xsl:value-of select="substring(//@IssueInstant,1,4)"/>, <xsl:value-of select="substring(//@IssueInstant,12,2)"/>:<xsl:value-of select="substring(//@IssueInstant,15,2)"/>:<xsl:value-of select="substring(//@IssueInstant,18,2)"/></h4> +<xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> +	<h4>wbPK(*): <xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"/></h4> +	<p></p> +	<hr></hr> +	<font size="2">(*) wbPK: Das <i>Wirtschaftsbereichsspezifische Personenkennzeichen</i> wird aus den jeweiligen Stammzahlen des Buergers und des Wirtschaftsunternehmens berechnet und ermoeglicht eine eindeutige Zuordnung des Buergers zum Wirtschaftsunternehmen.</font> +</xsl:if>  						</body>  					</html>  				</xsl:template> | 
