> developer > dnu > courses > building a secure infrastructure page 13
Building a Secured Corporate Web Application Infrastructure
May 2003
DeveloperNet University Course
Reader Rating    from ratings rate this article
View an eBook Version of this course - LARGE FILE! Send this page to a friend

Install/Run FileHRSystem Application and DirXML Driver

From the download link at the bottom of page (or http://developer.novell.com/research/downloads.htm) copy the \FileHRSystem to the root of the C drive.

  1. Copy the FileHRDriver.jar file from the FileHRSystem directory into c:\novell\nds\lib

  2. From ConsoleOne, select Create a new Application Driver... from the Wizard menu.

  3. Since this is the first Driver and we do not have a Driver Set object already create...Select In a new driver set.

Application Driver Creating Wizard.

Figure 22: Application Driver Creating Wizard.

  1. Click Next>.

Application Driver Creation Wizard.

Figure 23: Application Driver Creation Wizard.

  1. Enter the following:

    • Name: DriverSet

    • Context: corp

    • Server: ACME-NDS.corp

    • Create a new partition on this driver set: CHECKED

  2. Click Next>.

  3. At "Import pre-configured driver" (.XML file), select FileHRSystem.XML from FileHRSystem directory.

  4. Click Next>.

DirXML Driver Configuration - Parameters.

Figure 24: DirXML Driver Configuration - Parameters.

  1. Click OK to accept the default parameters.

  2. Click Yes to define Security Equivalences.

    • click the Add.. button.

    • Select the Admin user object.

    • Click OK.

  3. Click Yes to exclude "Administrative Roles."

    • Click the Add button.

    • Select the Admin user object.

    • Click OK.

  4. Click Finish.

Config HRFileSystem Driver

  1. Set Driver Parameters:

    • Right click on the FileHRDriver Driver

    • Select Properties

    • Select Driver Parameters tab.

Properties of FileHRDriver.

Figure 25: Properties of FileHRDriver.

  • Set the following values:

  • Enter the Database Directory Path as c:\FileHRSystem\db\

  • Enter the Status Directory Path as c:\FileHRSystem\

  • Click the OK button.

    Modify the Placment rule

    1. Click on the Publisher object and double click on the PubPlacement object on the right hand pane.

    Properties of PubPlacement.

    Figure 26: Properties of PubPlacement.

    1. Click the Edit Rule button.

    Placement Rules Wizard.

    Figure 27: Placement Rules Wizard.

    1. Enter `user rule' and click Next>.

    2. Click Next> (we are only concerned with User objects).

    3. Click Next>> (we aren't using any Match Path Prefixes).

    4. Click Next>> (we aren't matching any attributes).

    Properties of PubEventXForm.

    Figure 28: Properties of PubEventXForm.

    1. With <Data: 'novell\Employees\'> select, click Edit Item.

    2. Change the value from: novell\Employees\ to: corp\Employees\

    3. Click the OK button.

    4. Click the Finish button.

    5. Click the OK button.

    Modify the Event Transformation Stylesheet on the Publisher channel

    1. Click on the Publisher object and double click on the PubEventXForm object on the right hand pane.

    2. Find

      - \MIDFIELDER-TREE\novell
    1. Replace with

      - \ACME-TREE\corp
    1. Find

      - \5SWORDS-TREE\novell
    1. Replace with

      - \ACME-TREE\corp
    1. Click the OK button.

    From the Control Panel start Novell eDirectory Services

    1. Select the dstrace dlm and click on Start.

    2. On the dstrace menu select Edit | Options.

    3. Click the Clear All button.

    Novell eDirectory Trace Options.

    Figure 29: Novell eDirectory Trace Options.

    1. Select the DirXML Drivers check box.

    2. Click the Save Default button.

    3. Click OK.

    Setting the DirXML driver debug trace level

    1. In ConsoleOne, select the DriverSet object and right mouse click to select Properties.

    2. Click on the Other tab.

    3. Click on the Add button.

    4. Select DirXML-Driver TraceLevel.

    Properties of DriverSet.

    Figure 30: Properties of DriverSet.

    1. Enter 4 as the value.

    2. Click OK button to close the window.

    Start the FileHRDriver

    1. In ConsoleOne, right click on the DriverSet object and select Properties.

      • Click on the down arrow on the DirXML tab and select Driver option.

      • Click on the Start button.

      • The status of the driver should be showing "running."

    Hire an Employee to test HRFileSystem driver

    1. From Windows Explorer, execute c:\FileHRSystem\FileHRSystem.exe

    2. Set the following:

      • DataBase Directory: c:\FileHRSystem\db\

      • Log Directory: c:\FileHRSystem\

      • Config Directory: c:\FileHRSystem\config\config.fle

    3. Click Save Config Settings.

    4. Click Cancel button.

    5. Execute c:\FileHRSystem\FileHRSystem.exe again.

    6. Enter the following:

      • Given Name: Chris

      • Surname: Stone

      • Is Supervisor: True

      • Location: Boston

      • Phone Number: 555-1212

      • Department: Finance

      • Job Function: President

    7. Click the Hire button

    8. Watch dstrace screen:

      • You should see some Green text indicating success, if not fix errors and try again.

    Previous Contents Next
    download sample file