# Configuration File Sections

The License Server configuration file contains several sections, which represent different areas that you can configure. You can configure each area by setting configuration parameters for it. For details of the available parameters, refer to the License Server Reference (see Display Online Help).

## [ACIEncryption]

You can use the `[ACIEncryption]` section to encrypt communications between ACI servers and any applications that use the IDOL ACI API. For example:

    [ACIEncryption]
    CommsEncryptionType=GSS
    ServiceName=Kerberos

## [AuthorizationRoles]

The `[AuthorizationRoles]` defines roles that enable a particular set of actions for particular clients, SSL identities, and GSS principals. You must create a subsection for each authorization role that you define in the `[AuthorizationRoles]` configuration section.

For example:

    [AuthorizationRoles]
    0=AdminRole
    1=UserRole

    [AdminRole]
    StandardRoles=Admin,Index,ServiceControl
    Clients=localhost
    SSLIdentities=admin.example.com

    [UserRole]
    StandardRoles=Query,ServiceStatus
    SSLIdentities=admin.example.com,userserver.example.com

## Logging Section

The `[Logging]` section lists the logging streams that you set up to create separate log files for different log message types. It contains a section for each of the listed logging streams, in which you configure the settings that determine how to log each stream.

For example:

    [Logging]
    LogDirectory=MyLogs
    0=APPLICATION_LOG_STREAM
    1=ACTION_LOG_STREAM

    [APPLICATION_LOG_STREAM]
    LogFile=application.log
    LogTime=True
    LogEcho=True
    LogMaxSizeKbs=1024
    LogTypeCSVs=application
    LogLevel=normal
    LogExpireAction=datestamp

    [ACTION_LOG_STREAM]
    LogFile=action.log
    LogTime=True
    LogEcho=True
    LogMaxSizeKbs=1024
    LogTypeCSVs=action
    LogLevel=normal
    LogExpireAction=datestamp

## Server Section

The `[Server]` section contains settings that determine the ports to use to send ACI actions to the License Server, and which machines can send these actions. It also contains settings that control the management of stale licenses (that is, licenses that have not been issued or updated within a specified number of seconds).

For example:

    [Server]
    Port=20000
    Threads=8
    ReplaceStaleLicenses=True
    UseLicenseWithinSeconds=18000

Related Topics

- Revoke Stale Licenses

## Service Section

The `[Service]` section contains settings that determine which machines have permission to use and control the License Server service.

For example:

    [Service]
    ServicePort=20002

_FT_HTML5_bannerTitle.htm