Cool Solutions

IPAssignment Inheritance Provider l



By:

July 14, 2003 11:18 am

Reads:2,990

Comments:0

Score:Unrated

License:
Free

Download nps-ipassignment

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.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...


Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS