cc/td/doc/product/rtrmgmt/csrc/102
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring User Registrar

Configuring User Registrar

You can use the Cisco Subscriber Registration Center (CSRC) application framework to customize the User Registrar Subscriber interface presented to the end user during subscriber activation and maintenance. The CSRC application framework provides a common platform for developing Web-based applications.

You can change the following aspects of the User Registrar Subscriber application:

Configuration Areas

The User Registrar Subscriber application allows you to tailor your own user interface, such as adding specific corporate branding or tailoring the subscriber experience. The following sections describe the specific areas that you can configure to meet your company's needs.


Note The template files are the User Registrar Subscriber pages described in the
"Using User Registrar," and listed in Table A-1.

Customizing Template Files

Every page in the application has a corresponding template file containing the HTML presentation and textual content. You can use most HTML design tools or text editors to modify these template files.

Tips Some HTML editors change the order of tags or add new ones. Be sure to use an editor that does not add Body and Head tags to template files.

While the template files primarily contain layout and text, these files also determine which input fields the user must complete. In the case of a registration screen, the template determines what information a new subscriber must enter.


Note Each locale has its own directory located under the csrc-root/csrc/html/csrc-ur-sub directory.

Changing Images

The template files reference external images for each of the buttons in the UI. These files are referenced with the HTML tag <IMG SRC=xxx>. To change the image, replace the xxx with the new file name.

For example, change <IMG SRC='/csrc/images/ciscologo.gif'> to <IMG SRC='/csrc/images/MSO.gif'>.

If you have an existing image, you can simply replace it. Otherwise, use a standard image editor to create the image and then specify the new image by file name.

The template files contain the width and height of every image. If you replace or update an image with one of a different size, you need to update every <IMG> tag that references the modified image. The images are stored in the csrc-root/csrc/images directory.

Tips Make sure that you enter the correct width and height for each image. Having specified dimensions is critical to increasing the perceived performance of any Web page displayed to end users. This is particularly noticeable when using the Netscape browsers. If the template does not contain the dimensions, Netscape browsers do not display a page until they have loaded all the images.

Changing Text

Each template file contains text that describes user actions. You can edit the source templates to modify the text in these template files. Remember, however, if you add or delete significant amounts of text you may need to adjust the layout of the page.

The default installation of the User Registrar Subscriber application specifies the English language. The files that support the English language are located in the csrc-root/csrc/html/csrc-ur-sub/en directory.

If you plan to use another language or multiple languages, see the "Using Locales" section.

In addition to the text in the template files, there is also a file containing all of the error messages that the system displays. This file contains a mapping from the message code to the message text. The English version of this file is csrc-root/csrc/html/csrc-ur-sub/en/messages.cwaf.

For example, the following two lines are messages for the known_login page:

page:known_login:missing:Username=Username, please re-enter.

page:known_login:missing:Password=Password, please re-enter.

 

Each line contains a message key defining the type of message. There are two categories of messages: system and page. Using this unique identifier for a message, the interpreter extracts everything from the right of the equals sign to the end of the line for substitution when the message is required. User Registrar automatically truncates any white space at the end of the line.

System messages apply across all pages whereas page messages are specific to each page.

Changing Layout

The template files rely upon tables to layout the components of each page. You may want to change the order of components or to completely redo the page. In either case, you should use standard HTML formatting guidelines to modify the template.


Note Do not modify the CSRC-specific tags, which must be maintained for the proper functioning of the page. You can recognize these CSRC tags by the <GX> syntax. For example, during template rendering, User Registrar replaces <GX TYPE=cell ID=Subscriber.Username></GX> with the current subscriber's username.

When modifying templates, make sure you do not change or delete any of the text between the <GX> and </GX> tags. Also, be aware that some <GX> tags can be nested inside other <GX> tags.
Tips When working with tables, Internet Explorer is more lenient about beginning and ending table tags than Navigator. Thus, to ensure the correct functioning of any HTML table, view any page you change in both Netscape and Internet Explorer, and preferably against multiple browser versions.

Adding Display Fields

For each data object in the system, there are attributes that are available after installation called the core attributes, and there are attributes configurers create that extend the basic application schema called extension attributes.

The core attributes are those described in the CSRC Schema's Account Class, Subscriber Class, Modem Class, and Computer Class. For more information about these attributes, see the appropriate class in "CSRC Schema."

The default User Registrar template files use a subset of the core attributes, however you can change these files to show any attribute.

For example, to display a hint for the user's password on the login page, create an extension attribute named Hint and add it to the Subscriber object with the line <GX TYPE=cell ID=Subscriber.Hint></GX> in the login template page. Then every time the user accesses the login page, User Registrar displays the hint.


Note For more information about creating attributes, see "Extending the Application Schema" section and "Creating Schema Extensions" section.

Similarly, you do not need to make code changes to access extension attributes of referenced objects. If you extended the Account object with a LastPayment attribute, you could access it indirectly through a Subscriber object by <GX TYPE=cell ID=Subscriber.AccountNumber.LastPayment></GX>.

Adding Input Fields

The User Registrar page logic application schema performs dynamic input processing so that you can easily add attribute inputs. Each page has the required object attributes for self-provisioning already requested from the user.

In the choose_username page, User Registrar expects a Subscriber object. In the default User Registrar Subscriber application, this page asks for a username and password. Without modifying the logic, you can request an additional attribute input for the Subscriber object.

For example, to have users enter a hint for their password, add an input box to the choose_username page using a special syntax<INPUT> tag. In the case of the hint, it looks like: <INPUT type=text name=NewSubscriber.Hint>.

The new_login page expects a NewSubscriber object of type Subscriber to be created and passed in as an input. The addition of new attribute extensions is discussed in"Extending the Application Schema" section and "Creating Schema Extensions" section.

To support additional extension input fields, the application schema has the concept of required and optional flags for attributes. These flags allow User Registrar to dynamically determine what error messages should be returned when setting values for arbitrary objects.

The CSRC schema also employs required and optional attributes. In this case, required means that the attribute must have a value in the database. Whereas, in the application specification file, required means the subscriber must enter the value.

For example, to add a new field to a Subscriber object, specify in the page whether this is a required or optional attribute. The application specification file defines the required attributes for a given page in contrast to those required by the CSRC schema. For example, the schema may require 10 subscriber attributes, but the application specification file might require only five attributes. For User Registrar to successfully write the page attribute values to the database, the balance of the attributes need to be present.

Placing User Registrar in Frames

One of the easiest changes you can make to the User Registrar Subscriber application is to put the application inside frames. User Registrar is based on the assumption that the content in the surrounding frame panes do not need to change in association with the current application context.

Example for Placing User Registrar in Frames

Example 4-1 shows an index page that loads CSRC in the bottom portion of the window and has a menu frame along the top of the page.


Example 4-1: Using Framesets
[index.html]
<FRAMESET ROWS="50,*">
  <FRAME 
    SRC="/menu.html" 
    NAME="menu">
  <FRAME 
    SRC="/cgi-bin/gx.cgi/GUIDGX-{75BBB960-C80E-11D2-8207-0060B0FC247E}" 
    NAME="csrc">
</FRAMESET>
 

One result of placing the User Registrar Subscriber application inside frames is that the Web browser will not display the cryptic URLs that Netscape Application Server uses. Instead, the browser displays only the first URL that contains the <FRAMESET> tag. This hides the lower-level implementation from the subscriber.

Changing Page Headers and Footers

Each page has a common header and footer that the application defines.The application's header and footer are defined in the CSRCURSubscriber.tmpl file. Modifying this file allows you to change the application's header and footer. You do not need to change the source code to make these changes.

Example 4-2 shows example headers and footers that you might use in the User Registrar Subscriber application:


Example 4-2: Example Headers and Footers
<!-- HEADER START -->
 
<!-- Setup the header -->
<IMG SRC='/csrc/images/CiscoLogo.gif'>&nbsp
<B>User Registrar 1.0 </B>(Subscriber)
 
<!-- If appropriate, show the help button -->
<GX type=tile id=UseHelpButton max=1>
    <FORM Method=POST
    Action="/cgi-bin/gx.cgi/GUIDGX-<GX Type=cell Id=_GUID>(guid)</GX>">
    <INPUT Type=hidden Name='_goto' Value='urhelp'>
    <INPUT type=image src=/csrc/images/nbHelp.gif
    border=0 name=helpButton></FORM>
</GX>
 
<!-- If appropriate, show the exit help button -->
<GX type=tile id="ExitHelpButton" max=1>
    <FORM Method=POST
    Action="/cgi-bin/gx.cgi/GUIDGX-<GX Type=cell Id=_GUID>(guid)</GX>">
    <INPUT Type=hidden Name='_goto' Value='urhelp'>
    <INPUT type=image src=/csrc/images/nbExitHelp.gif
    border=0 name='Exit Help' value='Exit Help'></FORM>
</GX>
 
<!-- If appropriate, show the logout button -->
<GX type=tile id="LogoutButton" max=1>
    <FORM Method=POST
    Action="/cgi-bin/gx.cgi/GUIDGX-<GX Type=cell Id=_GUID>(guid)</GX>">
    <INPUT Type=hidden Name='_logout'
    Value="<GX Type=cell Id=_PageName>(pagename)</GX>">
    <INPUT Type=image Src=/csrc/images/nbLogout.gif
    Border=0 Name=logout_button></FORM>
</GX>
 
<!-- End the header section -->
<HR>
 
<!-- HEADER END -->
<!-- BODY START -->
 
<!-- Include the current page template file -->
<GX Type=Include Id=PageTemplate></GX>
 
<!-- BODY END -->
<!-- FOOTER START -->
 
<!-- Common application footer -->
<HR>
<FONT SIZE='-2'>Copyright (C) 1999 by Cisco Systems.</FONT>
 
<!-- FOOTER END -->
 

Example 4-2 contains three primary sections:

Since the page body is simply the location of the current page the user is viewing, you should not modify this section. In the header and footer sections, you can change the header and footer presentation. In particular, you can use any regular HTML tags, including graphics and fonts, to alter the presentation.


Note The page template file does not contain a <HEAD> or <BODY> tag. The application framework provides these tags as part of its execution.

You can also change the location and order of the system buttons. For example, if a certain UI design calls for the logout button to be located in the footer instead of in the header, simply move the entire section that defines the logout button behavior.

Customizing Subscriber Pages

You can change the User Registrar Subscriber configuration options through the User Administrator UI. These customizations are grouped by locale. For example you can choose to have a specific set of customizations for a college and another for a residential neighborhood. You can use locales to automatically determine the look and workflow of the pages, or to allow subscribers a language choice, such as whether they want pages in English or Spanish.

You can customize User Registrar Subscriber pages in three ways:

Changing Workflow

You can customize the workflow which affect the subscriber's self-provisioning experience. For example, you might want to offer a single service package, allow subscribers to login by PIN, or skip user specification of a user and host name.

The following configuration options control the User Registrar Subscriber pages. You specify them through the User Registrar Administrator UI.

Single Service

If you choose SingleService, User Registrar disables the service selection page and automatically configurers the subscriber for the specified service. If User Registrar cannot locate the service, it displays the normal service selection page. By default, SingleService is disabled. To enable or disable this option, see the "Adding a New Locale" section.

For more information about these pages, see the "Choosing a Service" section.

New Login Mode

You can choose to have User Registrar display the new_login_pinonly page, which allows subscribers to login with just their PIN. User Registrar logs in the subscriber if it can find a matching PIN in an LDAP Account object.

Choose pinonly mode only if your Account objects are indexed by PIN. The default login page is normal, which requires a subscriber to enter an account number and PIN. To enable or disable this option, see the "Adding a New Locale" section.

For more information about these pages, see the "Logging to User Registrar" section.

Logout Mode

You can choose whether the logout button is visible on every page or just on the login page. If you select loggedin, User Registrar displays the logout button only when the subscriber logs in. If you choose always, User Registrar displays the logout button on every User Registrar Subscriber page. The default is loggedin.

To enable or disable this option, see the "Adding a New Locale" section.

Activate Mode

You can determine how User Registrar handles activating devices. If you choose reboot, User Registrar displays the activate_reboot and update_reboot pages. If you choose countdown, User Registrar displays the activate_wait and update_wait pages. The default is countdown.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about these pages, see the "Activating a Computer" section and the "Reconfiguring a Computer" section.

Treat All Unknown as New

You can determine how User Registrar treats unrecognized computers. If you set TreatAllUnknownAsNew to true, User Registrar automatically displays the add_computer page when a subscriber attempts to log in with an unregistered computer. If you set TreatAllUnknownAsNew to false, User Registrar displays the unknown_computer page when a subscriber attempts to log in with an unregistered computer.

In both cases, if the subscriber exceeds the maximum number of computers, User Registrar displays the max_cpe_reached page. By default TreatAllUnknownAsNew is disabled.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about this page, see the "Changing a Computer" section and the "Managing Unregistered Equipment" section.

Skip Username Selection

When using a username lookup class, SkipUsernameSelection causes User Registrar to skip the choose_username page and instead use the output of the lookup class. User Registrar, however, still uses the looked-up value to populate the Subscriber object. By default, SkipUsernameSelection is disabled. If you set this value to true and do not specify a username-lookup-class, User Registrar displays the choose_username page.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about the username lookup class, see the "Username Lookup" section.

Skip Hostname Selection

When using a hostname lookup class, this option causes User Registrar to skip the activate_device page and instead use the output of the lookup class. User Registrar, however, still uses the looked-up value to populate the Computer object. By default, this option is disabled. If you set this value to true and do not specify a hostname-lookup-class, User Registrar displays the activate_device page.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about the hostname lookup class, see the "Hostname Lookup" section.

Using Optional Pages

You can choose to add additional optional pages. For example, you might want User Registrar to display a welcome page that greets the subscriber; a steps page that outlines the self-provisioning steps, or a select locale page that lets the subscriber select a language.

The following configuration options control the User Registrar Subscriber pages.

Use Welcome Page

You can choose to have User Registrar display the welcome page as an introductory page to the self-registration process. If you use the welcome page, User Registrar determines if subscribers are new or known users. If the subscriber is known, User Registrar displays the known_login page. If the subscriber is new, User Registrar displays the welcome page. By default User Registrar does not display this page.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about this page, see the "Accessing User Registrar" section.

Use Steps Page

You can choose to have User Registrar display the steps page. This page provides a description of the self-registration process. If you choose to use this page, User Registrar displays it only for new subscribers. By default User Registrar does not display this page.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about this page, see the "Accessing User Registrar" section.

Use Service Agreement Page

You can choose to have User Registrar display the accept_svc_agreement page, which requires the subscriber to accept the service agreement before beginning the self-registration process. If the subscriber declines the service agreement terms, User Registrar displays the declined_svc_agreement page, which updates the Account object's AcceptedServiceAgreement attribute so that you can track subscriber service agreement acceptance.

The confirm_svc_agr page works in conjunction with the accept_svc_agreement page. If the subscriber declines the service agreement terms, User Registrar displays this page. The subscriber can choose to either accept or decline. If the subscriber accepts, User Registrar displays the next page in the workflow. If the subscriber declines, User Registrar displays the declined_svc_agreement page.

The declined_svc_agreement page works in conjunction with the accept_svc_agreement page. If the subscriber declines and confirms the decline, User Registrar displays this page and sets the AcceptedServiceAgreement flag to false. From the declined_svc_agreement page, the subscriber can only logout and close the browser.

By default, User Registrar does not display these pages. To enable or disable this option, see the "Adding a New Locale" section.

For more information about this page, see the "Enabling Service Agreement" section.

Use Select Locale

You can choose to have User Registrar display the select_locale page. This page allows a subscriber to choose the language, such as English or Spanish for the User Registrar pages. After the subscriber has chosen the language, User Registrar updates the Subscriber's object local attribute with that language value. When the subscriber logs in again, User Registrar automatically displays the correct language pages.

To enable or disable this option, see the "Adding a New Locale" section.

For more information about this page, see the "Accessing User Registrar" section.

Using the Default Subscriber Locale

This option determines the locale to present to a new subscriber. If you have enabled LocaleLookup, User Registrar uses its value otherwise it uses the Default subscriber locale. User Registrar learns the value for LocaleLookup when the subscriber selects a locale from the select_locale page. The default value is en for English.

To enable or disable this option, see the "Editing Global Settings" section.

For more information about this page, see the "Editing Global Settings" section.

Using Locales

You can use locales to offer multiple language support or customized pages based on the customer's geographic region or a combination of both. For each locale you create, you can define a specific workflow, set of page extensions, and customized pages.

The following example describes one way you could use locales to support different types of customers. A cable provider serves both a university and a residential neighborhood.

The cable provider services both groups by configuring three locales: University, Residential_English, and Residential_Spanish.

The cable provider configures User Registrar to automatically determine which locale customers are connecting from and to display the corresponding locale pages. For residential subscribers, User Registrar displays a language choice, allowing subscribers to choose between English and Spanish. After subscribers have chosen the language, User Registrar displays that language for all subsequent interactions with User Registrar.

The following are the areas in which you can customize locale use:

Creating a new Locale

User Registrar comes with only the en locale (English language) available. Although you could customize this locale and use it in a single locale system, if you need multiple locales, you must create them. In User Registrar Administrator, the Manage Defaults page contains a list of locales.

To create a new locale, do the following:

Step 1 From the Manage Defaults page, enter the name and description of the new locale.

Step 2 Click Add Locale.

User Registrar redisplays the page adding the new locale to the list of locales. After you have created a locale, you must initialize the workflow settings.


Note If you want to have two locales using the same workflow, you must set all of the workflow options in both locales.

To edit the workflow, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the locale you have just created.

Step 2 From the Edit Locale page, select or enter the workflow options for this locale.

On this page, you can also control the usage of the locale selection page and enable the desired locale-specific page extensions. For more information about these options, see Table 3-26.

Customizing the Page Presentations

When you create a new locale, User Registrar copies a set of template files into the /csrc-root/html/csrc-ur-sub/locale-name directory where locale-name is the name of the locale you just created. These template files define the appearance of the pages User Registrar displays to the subscriber.

Tips If you want to base one locale on another locale, first create the new locale, then copy all of the template files from the old locale into the new locale directory overwriting the files User Registrar placed there as part of locale creation.

To customize the page presentation, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the locale you have just created.

Step 2 From the Edit Locale page, click Edit Page Presentations.

Step 3 From the Edit Page Presentations page, accept the defaults or enter the background color (in hexadecimal, for example, #003366) and page title for each User Registrar Subscriber page. For more information about these pages, see "Using User Registrar."

Determining a Subscriber's Locale Automatically

User Registrar displays the default locale when a new subscriber connects to the User Registrar Subscriber application. In the default locale, you can define a locale lookup page extension that automatically configures the subscriber to use a different locale. For example, in the scenario described above, User Registrar automatically determines whether the user is connecting from the university or residential neighborhood.

To create a page extension that uses the ILocaleLookup interface, do the following:

    1. Create a new Java class that implements the ILocaleLookup interface with the getLocale() method returning the name of the locale for the given subscriber.

    2. In the User Registrar Administrator Edit Locale page, specify the newly created Java class in the Locale lookup class field.

The following is a simple class that implements locale determination using the modem's IP address.

public class SampleLocaleLookup 
    implements com.cisco.csrc.ursub.ILocaleLookup
{
  public String getLocale(String computerIP, String modemIP)
  {
    if (modemIP.startsWith("123.123."))
      return "University";
    else
      return "Residential_English";
  }
}
 

After CSRC has determined the subscriber's locale, User Registrar displays the appropriate pages.


Note For more information about creating page extensions, see the
"Creating Page Extensions."

Subscriber Selection of a Locale

Although you can use locales to support geographic regions, the primary reasons for using locales is for language selection. When a subscriber begins the self-registration process, the first page User Registrar displays can be the select_locale page. This page presents the subscriber with a list of locales.


Note If you have enabled the select_locale option, the locale the subscriber selects is automatically stored in
LDAP and used when the subscriber returns to perform account maintenance.

To use the select_locale page, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the locale you have just created.

Step 2 From the Edit Locale page, enable the Use select locale page option.

By default, the select_locale page lists all of the available locales configured in the system.

There may be times when you want to present the subscriber with only a subset of available locales. For example, in the scenario described above the residential customers should only be presented with Residential_English and Residential_Spanish.

To display a subset of locales available for a subscriber, create a ILocaleChoices page extension by doing the following:

    1. Create a new Java class that implements the ILocaleLookup interface with the getLocaleChoices() method returning a string array containing the two desired locale names.

    2. In the User Registrar Administrator Edit Locale page, specify the newly created Java class in the Locale lookup class field for the Residential_English and Residential_Spanish locales.

The following is a simple class that constrains the available locale choices for a certain subscriber group.

public class ResidentialLocaleChoices 
    implements com.cisco.csrc.ursub.ILocaleChoices
{
  public String[] getLocaleChoices(String computerIP, String modemIP)
  {
    return new String[] 
      { "Residential_English", "Residential_Spanish" };
  }
}
 

Note For more information about creating page extensions, see the
"Creating Page Extensions."

Configuring the Default Locale

The locale and workflow logic used when a subscriber initially accesses User Registrar is controlled by the default locale specified in User Registrar Administrator. If you use a ILocaleLookup page extension, you must specify the class on the default locale's settings page.


Note For more information about creating page extensions, see the
"Creating Page Extensions."

Using Neighborhoods

You can use neighborhoods to segment subscribers based on a common geographic region and/or you can use neighborhoods to tailor the services, languages or locales presented to the user.

The following example describes a way you could use neighborhoods to support two different groups of customers. A cable provider serves both a university and a residential neighborhood. This is the same scenario presented in the locale section; however, using neighborhoods significantly increases the ease of configuration and the overall effectiveness of the CSRC installation. In addition, the creation of neighborhoods allows User Registrar to automatically provision shared modems for community neighborhoods, such as educational institutions or multifamily dwellings.

The cable provider services both groups by configuring two neighborhoods: University and Residential.

The cable provider configures User Registrar to automatically determine which neighborhood subscribers are connecting from by associating the neighborhoods with subnets defined in Modem Registrar.

After this initial activation, User Registrar only reboots the cable modem when the neighborhood's service level is changed.

Customizing Neighborhoods

The following are the areas in which you can customize neighborhood use:

Creating a New Neighborhood

The default User Registrar configuration has no neighborhoods configured. To segment subscribers in a CSRC installation by type, you must create the appropriate neighborhoods. In User Registrar Administrator, the Manage Defaults page contains a list of neighborhoods.

To create a new neighborhood, do the following:

Step 1 From the Manage Defaults page, enter the name and description of the new neighborhood.

Step 2 Click Add Neighborhood.

User Registrar redisplays the page adding the new neighborhood to the list of available neighborhoods. After you have created a new neighborhood, you need to configure the default settings for that neighborhood.

To edit the neighborhood, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the neighborhood you have just created.

Step 2 From the Edit Neighborhood page, select or enter the configuration options for this neighborhood.

On this page, you can also control the provisioning mode for new cable modems. When specifying shared provisioning, you must specify an account number and service level for the shared modems. For more information, see the "Configuring a Neighborhood for Shared Modems" section.

Specifying Subscriber Selection of a Service

One use of neighborhoods is to control the available services User Registrar presents to a subscriber. When proceeding through the auto-provisioning pages, the subscriber must select a service level on the Choose Service Selections page.

To control the available services, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the neighborhood you want to edit.

Step 2 From the Edit Neighborhood page, select the services to be presented to the subscriber by selecting one or more services on the Available Subscriber Services option. To select multiple services, hold down the control or option key while clicking on each desired entry.

Step 3 Click OK to use the selected services.

By default, the Choose Service Selections page lists all of the user-visible services configured in the system.

Specifying Subscriber Selection of a Locale

For each neighborhood you have defined, you may want to make a subset of the system locales available. For example, in residential neighborhoods, you may want to offer multiple languages branded for specific neighborhoods.

When using multiple locales, the default locale specified for the neighborhood must have the select_locale option enabled. After it is enabled, User Registrar presents new subscribers with a page allowing them to select their desired locale. Then, User Registrar stores the locale the subscriber selected in the subscriber object. If the subscriber makes changes to his or her account, User Registrar uses that selected locale.

To enable selection of a locale, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the neighborhood you want to edit.

Step 2 From the Edit Neighborhood page, choose the default locale for the neighborhood. This is the locale that User Registrar presents with the select_locale page.

Step 3 Select the list of locales to present to new subscribers. If you select a single locale, User Registrar skips the select_locale page and uses the single locale. To select multiple locales, hold down the control or option key while clicking on each desired entry.

Step 4 Click OK to use the selected locales.

For more information on configuring locales, see the "Using Locales" section.


Note After you have activated these settings, only new subscribers will see the change. Any existing subscribers that have already selected a locale will continue to use the previously chosen locale. If the default locale for a neighborhood is changed and a subscriber was not previously presented the list, User Registrar will use the current default locale setting for account maintenance.

Configuring a Neighborhood for Shared Modems

There are two different modes available for provisioning modems in a neighborhood.

To configure a neighborhood for shared access, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the neighborhood you wish to edit.

Step 2 From the Edit Neighborhood page, change the default modem usage from private to shared.

Step 3 Enter the account number to associate the neighborhood with. This setting only affects shared modems registered from now on.

Step 4 Select the service level for shared modem. When subscribers access the system over unrecognized modems, User Registrar automatically configures the modems for this level.

Step 5 Click OK to change the neighborhood to the shared modem.

Once a neighborhood is configured for shared access, the User Registrar Administrator UI allows you to list all of the modems associated with a neighborhood and to reset modems as needed.

Determining a Subscriber's Neighborhood Automatically

User Registrar attempts to determine the neighborhood for a subscriber automatically. This algorithm is based on the provisioning elements defined in Modem Registrar. To base the determination of a neighborhood on subnets, configure the necessary subnet relationships in Modem Registrar.

To associate a neighborhood with a subnet, do the following:

Step 1 In Modem Registrar, click Option Sets from the Main Menu page.

Step 2 From the Configure Option Set list page, click Subnet.

Step 3 From the Subnet Option Set List page, locate the subnet option set you want to modify in the list of option sets and click its hypertext link.

Step 4 On the Edit Subnet Option Set page, select the desired neighborhood in the Default Neighborhood drop-down list.

Step 5 Click OK.

Repeat this process for all of subnets associated with neighborhoods. If a more general scoping can be used to define the default neighborhood for a portion of the network, the same steps apply to all of the Option pages.

In the example of a CSRC installation serving both residential and university neighborhoods, the residential neighborhood would likely be defined at a very broad level, for example, the Default Option Set of the CSRC Group Option Set, while the particular subnet (or subnets) used by the university would override that default setting.

Overriding the Modem's Default Provisioning Mode

Even though you typically configure the neighborhood modem usage to address the majority of configurations, you can still provision devices for the opposite usage mode. If the current mode is private, you can provision a shared asset in the neighborhood. If the current mode is shared, you can provision a private modem. Because these scenarios are, by definition, breaking the rules defined by the configuration, they cannot be accomplished automatically.

Creating a Shared Modem in a Private Neighborhood

To create a shared modem in a private neighborhood, do the following:

Step 1 From the Manage Defaults page, click Edit next to the name of the neighborhood you want to override.

Step 2 From the Edit Neighborhood page, supply the shared cable modem settings, that is, the account number and service.

Step 3 Click Shared Modems.

Step 4 From the Manage Shared Modems page, specify a MAC address and description.

Step 5 Click Add Modem.

Step 6 Repeat steps 4 and 5 for each shared modem.

Creating a Private Modem in a Shared Neighborhood

To create a private modem in a shared neighborhood, do the following:

Step 1 From the Manage Subscribers page, click Edit next to the subscriber whose modem setting you want to override.

Step 2 From the Edit Subscriber page, click private for Modem usage.

Step 3 Enter the Private modem MAC address, if you know it or leave it blank.

Step 4 Click OK.

Extending the Application Schema

User Registrar is based on an application schema that abstracts the underlying data stores from the development of the user interface. The application schema defines all of the objects and attributes that are available to you as the user interface configurer.

Example 4-3 shows the Account and Subscriber objects from the User Registrar Subscriber application's schema:


Example 4-3: Account and Subscriber Objects
class Account{
	string AccountNumber, unique;
	string PIN;
	string LastName;
	string FirstName;
	string MI;
	string Salutation;
	string Telephone;
	string Address, multi;
	string City;
	string State;
	string ZipCode;
	string SecurityQuestion, optional;
	string SecurityAnswer; optional;
	boolean AcceptedServiceAgreement, optional;
}
 
class Subscriber {
	string UserName;
	string LocalityName;
	string StateOrProvinceName;
	string AccountNumber, ref(Account.AccountNumber), unique;
	boolean Isdisabled;
	string Password;
	objid ModemList, ref(Modem.ObjectID), multi;
	objid ComputerList, ref(Computer.ObjectID), multi;
	objid ServiceList, ref(Service.ObjectID), multi;
}
 

In Example 4-3, the class { } sections define objects and the various lines in each object define the attributes available. For each attribute, you can configure various properties.

The AccountNumber attribute of Subscriber is a reference to an Account object. This relationship is represented by ref(Account.AccountNumber). Similarly, an attribute can be multivalued (multi), unique across all instances (unique), and have default values. Unlike normal properties, specify default values by placing an equal sign to the right of the attribute name and then specify a value. For example, string IsDisabled=false; ensures that newly created Subscriber objects are not disabled by default.

Using the Service Agreement Flag

If you choose to use the service agreement pages, CSRC uses the AcceptedServiceAgreement flag to store whether the subscriber has agreed to the service agreement. Note that the callouts that address the Account object must be able to return the accepted service agreement flag, must be registered for updates to the Account object, and must be able to update the callout's store with the new value after the agreement is accepted.

For example, when CSRC first access your callout to retrieve the Account object for a given subscriber, the AcceptedServiceAgreement will have no value if that subscriber has not accepted the agreement (a CSR registered the subscriber).

Extending the Schema

Working in conjunction with extension configurers, you can augment the schema with new attributes. After an extension has been properly configured to provide a new attribute, you must update the application schema to reflect this change. Additions to the application schema require a corresponding change to either an extension callout or an additional storage attribute.

Edit the schema file located in csrc-root/conf/cwafmw.spec to contain the new attributes and then provide the values using extension attributes or callouts. For more information on extending the underlying CSRC object layer, refer to the "Schema Extensions," and "CSRC Schema."


Note The order of the attributes in the schema is not significant to the operation of the application, though for consistency add the extension attributes after the core User Registrar attributes.

hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Sep 26 04:43:30 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.