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


Developing and Customizing the Sample IDP Captive Portal

The /webapp directory on the SDX 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 SDX 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 SDX 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.
  3. jar xvf idpPortal.war WEB-INF/portal.props
    
    
    
  4. With a text editor, edit the WEB-INF/portal.props file:

See Basic Portal Properties.

See Locator Properties.

For information about the values to configure for NIC properties, see SDX Network Guide: SAE, Juniper Networks Routers, and NIC, Chapter 7, Configuring Applications to Communicate with an SAE.

  1. Replace the WEB-INF/portal.props file and any other updated files in the idpPortal.war file.
  2. 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>

For information about security parameters, see the IDP documentation at

http://www.juniper.net/techpubs/software/management/idp/

ICMP.EXPLOIT.FLOOD = Network traffic that is flooded by ICMP Echo Request Packet

TROJAN.AUTOPROXY.INFECTED-HOST = AutoProxy trojan attempts to contact a master server and register the IP address and open ports of the infected host

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

IOR:000000000000002438444C3A736D67742E6A756E697...

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:

If you are using JBoss, copy the file to the /opt/UMC/jboss/server/default/deploy directory. JBoss automatically starts the Web application when a new WAR file is copied into the deploy directory.

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 SDX redirect server to redirect Web requests to the IDP captive portal:

  1. Follow the instructions for configuring the redirect server in SDX Subscribers and Subscriptions Guide, Chapter 9, 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] [No Frames]