Novell Home

IPAssignment Inheritance Provider l

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

This extension to Novell Director Standard Edition 4.1 (NPS) allows pages to be assigned based on the IP address of the client.

Vitals

Product Categories:
  • NetWare
  • Functional Categories:
  • Configuration
  • Posted:14 Jul 2003
    File Size:7KB
    License:Free
    Download:/coolsolutions/tools/downloads/nps-ipassignment.zip
    Publisher:Jason Rivard

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    To install:
    - Add the jar file to nps/WEB-INF/lib directory.
    - Go to Portal Admin -> Portal -> Configuration -> All Settings -> Add a new setting called: "Custom Inheritance Providers."
    - Set the value to "com.novell.jrivard.nps.menu.IPAssigmentInheritance."
    - Restart Tomcat (or whatever servlet engine your running).

    To configure:
    - Create a page you want to assign by IP Address. Do not associate this page with anything.
    - Edit the page using Portal Admin -> Properties -> All settings -> Copy the "Object GUID" of the page, including braces: {E6DDD759-0000-00F4-30B7-6CDA0A7B2638}. (Note: be sure to take the GUID, not the editable service field.)
    - Go to Portal Admin -> Portal -> Configuration -> All settings -> Add a new setting called: "IPAssignment."
    - Set the value to the IP Address you want to assignment that page to and the GUID. For example "This is for applications page#10.1.1.1#{E6DDD759-0000-00F4-30B7-6CDA0A7B2638}" Without the quotes.
    - The first field is a description, and is ignored, but can be helpful when assigning many pages this way. The second is the source IP of the connection. The third is the GUID, including the curly braces.
    - You can have as many values as you want.
    - The Inheritance Provider puts informative messages in the portal's HIGH output level.

    Notes:
    - This uses the source IP of the connection, not the X-Forwarded-For.
    - There's no way to negate the assignment. IE, it's not possible to assign a page, if you're external AND you're a manager. (Page assignments are always "joins" or "or"s).
    - A work around would be to use page overlays. Assign the page to managers and page overlays to external users and therefore users will only get the gadgets on the overlay, if both conditions are met.
    - Exact IP address must be used. The current version doesn't work with DNS or partial IP address matches.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell