Denoting sites as intranets
You can make changes to configuration settings to denote a Bookmarks site as an intranet. Changes to Bookmarks configuration settings require node synchronization and a restart of the Bookmarks server before they take effect.
To edit configuration files, you must use the wsadmin client. See Starting the wsadmin client for details.
Follow these steps to denote a site as an intranet.
Access the Bookmarks configuration file as described in the topic Accessing the Bookmarks configuration file.
IP ranges are used to identify bookmarks located on your corporate intranet. As you expand or change your intranet topology, use these settings to incorporate changes into Bookmarks.
If you had previously configured a value for IntranetAllocation.ipRange, when you run the DogearCellConfig.showConfig() command, one or more IntranetAllocation.ipRange settings will appear. For example:
privateIntranetAllocationTable from 0.0.00.00 to 0.00.00.1 privateIntranetAllocationTable from 18.104.22.168 to 22.214.171.124 privateIntranetAllocationTable from 126.96.36.199 to 188.8.131.52 privateIntranetAllocationTable from 184.108.40.206 to 3.303.0.3 privateIntranetAllocationTable from 220.127.116.11 to 4.404.0.4
This represents the various IP ranges of web sites in the corporate intranet. This setting is used to determine if a site is internal or external. Internal sites are represented by an intranet favicon.
You might need to update this value after initially installing Bookmarks with no IP ranges or if you want to add a range after installation. This might be the case due to a corporate merger or acquisitions that result in added or deleted IP ranges.
Note: Any change to IP ranges will require an update to the intranet settings of bookmarks in the database.
See the topic Assigning URLs to intranet sites for more information.
The following commands allow the administrator to either add or remove ipRanges.
DogearCellConfig.addIpRange('intranetAllocation.ipRange', ['from_range'], ['to_range']) : Strings. This command will add an additional IP Range.
\[from\_range\] = the starting IP address of this range \[to\_range\] = the ending IP address of this range Example: ``` DogearCellConfig.addIpRange('intranetAllocation.ipRange','18.104.22.168','22.214.171.124') ```
DogearCellConfig.removeIpRange('intranetAllocation.ipRange', ['from_range'], ['to_range]') : Strings. This command will delete an existing IP Range.
\[from\_range\] = the starting IP address of this range \[to\_range\] = the ending IP address of this range Example: ``` DogearCellConfig.removeIpRange( 'intranetAllocation.ipRange','126.96.36.199','188.8.131.52') ```
DogearCellConfig.clearIpRanges('intranetAllocation.ipRange') : String.
Clears all IP ranges recorded in the configuration settings Example: ``` DogearCellConfig.clearIpRanges('intranetAllocation.ipRange') ```
See Applying property changes for information about how to save and apply your changes.
Parent topic:Administering Bookmarks