cc/td/doc/solution/sesm/sesm_317
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Security Policy Engine for SESM

Configuring Security Policy Engine for SESM

This chapter describes how to configure the Security Policy Engine (SPE) component to work with SESM applications. The chapter includes the following topics:

SPE Attributes

SPE uses the following MBeans:

The SPE MBeans are used by any application that incorporates the SPE, which could include SESM portals deployed in LDAP mode, the RDP server, and the CDAT application. Each application has its own version of SPE MBeans.

To change attributes in the SPE MBeans, you can either:

    applicationName
      config    dessauth.xml

Directory MBean

The Directory MBean configures logging and caching attributes for executing classes in the SPE APIs. Table 8-1 describes the attributes in the Directory MBean.


Table 8-1: SPE—Directory MBean
Attribute Name Explanation

connectionNameRoot

Root name of the individual connection Mbeans. This MBean searches for other mbeans that begin with this name and assumes that those MBeans are connections to the directory.

factory

Do not change the installed value.

context

Default LDAP context. This is the organization and organizational unit that was created to hold the SESM data.

DESSPrincipal

Name used to connect to the SESM organization and organization unit. This user must have permission to create objects in the SESM context.

alwaysGetAllAttributes

If set to true, all the attributes of an LDAP entry are returned for each query.

traceFileName

Name of the directory log file.

traceLevel

Should be one of: NONE, ERROR, BRIEF, VERBOSE, or DEBUG.

printTraceToConsole

If set to true, the application sends trace messages to the console and writes them into the log file.

stackTrace

If set to true, the application prints a stack trace with each trace message.

cacheMaxObjects

Specifies the maximum number of software objects to hold in the cache. Objects represent subscribers, services, privileges, roles, and so on.

When the cache contains cacheMaxObjects, old objects are deleted from cache, regardless of available cache space. Set this value high to allow the available cache space to be the determining factor for cache management.

Installed default: 50000

cacheMinFreeMem

Specifies the percentage of Java virtual memory that must remain available (that is, not used by the cache) after the application is loaded into memory.

You can calculate the specific amount of memory available for the cache as follows:

cacheSize = (JavaVirtualMemory- applCodeSize) * (100% - cacheMinFreeMem)

Where:

JavaVirtualMemory is the maximum virtual memory size specified at application startup time with the jvm argument. The installed startup scripts use the following values:

  • The startNWSP script uses 64 MB

  • The runrdp script uses 20 MB

applCodeSize is the application size. The NWSP is approximately 18 MB.

cacheMinFreeMem is the percentage of JVM that must remain available after the application is loaded into memory.

For example, the cacheSize for NWSP is 90% of 14 MB, or 12.6 MB:

cacheSize = (32 MB - 18 MB) * (100% - 10%)

Default: 10

cacheSessionTimeout

Specifies the timeout of inactive client sessions in seconds.

Default: 600

cacheExpireInterval

Specifies the interval in seconds after which the cache attempts to expire objects.

Note   Do not set this attribute to 0. A value of 0 causes every request to go to the directory, bypassing caching and any memory storage from a recent request for the same object. A value of 0 degrades performance substantially.

Default: 600

cacheObjectTimeout

Specifies the number of seconds before objects time out.

Default: 600

Connection MBeans

The Connection MBeans configure location and security attributes required to connect to an LDAP directory. If you configure and deploy two LDAP directories for failover protection, make sure to configure two instances of the connection MBean, using the appropriate connection information for the primary and secondary directories. The connection MBean names are:

Table 8-2 describes the attributes in the Connection MBeans.


Table 8-2: SPE—Connection MBeans
Attribute Name Explanation

poolSize

Number of active connections allowed to the LDAP server.

URL

URL of the LDAP server.

principal

Name used when connecting to the LDAP server.

credentials

Credentials (such as password) used for connecting to the LDAP server.

Extending the Directory Schema and Loading Initial RBAC Objects

For SESM deployments running in LDAP mode, you must make the following modifications on the LDAP directory:

The SPE installation process optionally performs these update activities. If you did not choose these options during installation, you must perform these updates before running CDAT or SESM applications in LDAP mode.

To perform these updates after SESM installation, use either of the following procedures:

    dess-auth
      schema    README.SESM.LDIF.html

Rerunning the SESM Installation to Update the Schema and Load RBAC Objects

To use the SESM custom installation process to extend the directory schema and load initial RBAC objects, follow these procedures:


Step 1   Make sure the LDAP directory server is running.

Step 2   Make sure you know the following user IDs and passwords:

Step 3   Execute the SESM installation program on a server that has network access to the LDAP directory.

Step 4   When the installation program prompts for setup type, choose Custom.

Step 5   When the installation program prompts for the components to install, choose SPE.

Step 6   When the installation program prompts for directory connection information, provide correct information to access the directory. This includes the names of the organization and organizational unit you created to hold the SESM data.

Step 7   When the installation program displays the options, click Update schema and Install RBAC.


Loading Sample Data

The SESM installation includes sample data that you can optionally load into the LDAP directory, after the SPE extensions are applied. The sample data is located in:

dess-auth
    schema
      samples    DESSusecasedata.ldf

To load the sample data, follow instructions in the following file:

dess-auth
    schema
      README.SESM.LDIF.html

hometocprevnextglossaryfeedbacksearchhelp
Posted: Fri Oct 18 09:59:14 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.