[Contents] [Prev] [Next] [Index] [Report an Error]

Developing and Customizing the Sample IDP Captive Portal

The /webapp directory on the SRC application library CD contains the idpPortal.war file. The idpPortal.war file provides:

For information about expanding the idpPortal.war file, see Configuring Properties for the Sample IDP Captive Portal .

The IDP captive portal uses the SAE CORBA remote application programming interface (API) to perform actions such as activating, deactivating, or scheduling services. For information about the SAE CORBA remote API, see the SAE CORBA remote API online documentation on the SRC software distribution in the directory SDK/doc/idl/index.html.

The tasks to deploy the sample IDP captive portal are:

  1.  Configuring Properties for the Sample IDP Captive Portal
  2.  Deploying the Updated WAR File
  3.  Accessing the IDP Captive Portal
  4.  Configuring the Redirect Server to Redirect Traffic to the IDP Captive Portal

Configuring Properties for the Sample IDP Captive Portal

The sample IDP captive portal provided with the SRC software is designed to be used with the IDP integration implementation and the sample data. To use the sample IDP captive portal, edit the WEB-INF/portal.props. The /opt/UMC/idp/idpPortal.war file contains the WEB-INF/portal.props file.

To edit the WEB-INF/portal.props file:

  1. Copy the idpPortal.war file to a temporary folder, and work in that folder.
  2. Extract the WEB-INF/portal.props file from the idpPortal.war file.
    jar xvf idpPortal.war WEB-INF/portal.props
  3. With a text editor, edit the WEB-INF/portal.props file:
  4. Replace the WEB-INF/portal.props file and any other updated files in the idpPortal.war file.
    jar uvf idpPortal.war WEB-INF/portal.props

Basic Portal Properties

In the WEB-INF/portal.props file, you can modify the following properties. These properties specify how the portal uses records received from IDP.

Attack.Record.number

Attack.Record.removeStep

DateTime.Format

<incident-name>

Attack.Captive.service

Attack.showRemindLater

Attack.showIgnore

Locator Properties

In the WEB-INF/portal.props file, you can modify the following properties. Change these properties to conform to your configuration.

Factory.locator

LocalFeatureLocator.objectRef

DistributedFeatureLocator.locName

Config.java.naming.provider.url

Config.net.juniper.smgt.des.backup_provider_urls

Deploying the Updated WAR File

To deploy the updated WAR file for the application:

Accessing the IDP Captive Portal

Access the portal to ensure that you can view the page and to review the page setup. To access the IDP captive portal:

Configuring the Redirect Server to Redirect Traffic to the IDP Captive Portal

To configure the redirect server to redirect Web requests to the IDP captive portal:

  1. Follow the instructions for configuring the redirect server in Overview of the Residential Portal .
  2. In the /opt/UMC/redir/etc/redir.properties file, specify the URL of the IDP captive portal for the redir.url property. This entry has the form

    redir.url=http(s)://<host>:<port>/idpPortal/PortalDisplay.jsp


[Contents] [Prev] [Next] [Index] [Report an Error]