The ID client can be used inside of DirXML® style sheets calling the getNextID function of the com.novell.ncs.idsrv.IDClient Java class.
xmlns:id="http://www.novell.com/nxsl/java/com.novell.idm.idprovider.IDClient"
To obtain the next available ID from an ID Policy object in the Identity Vault, the ID client uses the following parameters to communicate with the ID Provider driver.
Table 4-1 ID Client Parameters
|
Parameter |
Description |
Sample |
|---|---|---|
|
$RMIServer |
RMI server host address |
localhost |
|
$RMIPort |
RMI server port |
1099 |
|
$UIDRule |
ID Policy object name to retrieve an ID from |
uniqueCN |
|
$IDClient |
ID Client name to identify this client at the RMI server |
Client-No2 |
|
$Tracelevel |
Trace level Through the trace level setting it’s possible to see specific trace information in the DirXML ID Servers main screen. The trace level is a bit mask and can be combined. Trace values and levels:
|
1 |
<xsl:variable name="RMIServer" select="'192.168.65.100'"/> <xsl:variable name="RMIPort" select="'1099'"/> <xsl:variable name="UIDRule" select="'Unix UID'"/> <xsl:variable name="IDClient" select="'NIS-SUB-A-CST'"/> <xsl:variable name="GIDRule" select="'Unix GID'"/> <xsl:variable name="Tracelevel" select="'9'"/> <xsl:variable name="uid" select="id:getNextID($RMIServer,$RMIPort,$UIDRule,$IDClient,$Tracelevel)"/>