ldapMOProfile.xsl revision 44d9730b69143d1fd7cd8b382b557e2c9d65225e
12219N/A ! The contents of this file are subject to the terms of the 10139N/A ! Common Development and Distribution License, Version 1.0 only 10139N/A ! (the "License"). You may not use this file except in compliance 10139N/A ! See the License for the specific language governing permissions 15291N/A ! and limitations under the License. 10615N/A ! When distributing Covered Code, include this CDDL HEADER in each 16560N/A ! If applicable, add the following below this CDDL HEADER, with the 10139N/A ! fields enclosed by brackets "[]" replaced with your own identifying 10139N/A ! Portions Copyright [yyyy] [name of copyright owner] 10794N/A ! Copyright 2008 Sun Microsystems, Inc. 10139N/A <
xsl:
output method="text" encoding="us-ascii" />
13379N/A select="concat('No object class found for managed object definition ', $this-name)" />
16472N/A <
xsl:
for-
each select="$this-all-properties">
10139N/A select="concat('No attribute type found for property ', @name, ' in managed object definition ', $this-name)" />
10139N/A <
xsl:
for-
each select="$this-all-relations">
10139N/A <
xsl:
if test="not(adm:profile[@name='ldap']/ldap:rdn-sequence)">
10139N/A select="concat('No RDN sequence found for relation ', @name, ' in managed object definition ', $this-name)" />
10139N/A normalize-space(adm:profile[@name='ldap']/ldap:rdn-sequence), 10139N/A test="adm:profile[@name='ldap']/ldap:naming-attribute">
10139N/A <
xsl:
if test="not(adm:one-to-many)">
10139N/A select="concat('Naming attribute specified for relation ', 10139N/A @name, ' in managed object definition ', 10139N/A $this-name, ' which is not a one-to-many relation.')" />
10139N/A <
xsl:
if test="adm:one-to-many/@naming-property">
10139N/A select="concat('Naming attribute specified for one-to-many relation ', 10139N/A @name, ' in managed object definition ', 10139N/A $this-name, ' which uses a naming property.')" />
10139N/A select="concat('naming-attribute.', 10139N/A normalize-space(adm:profile[@name='ldap']/ldap:naming-attribute), 10139N/A select="concat('naming-attribute.', normalize-space(@name), '=cn
')" />