StaticMap class object

A StaticMap class object is a set of dictionaries called a pool. Elements of dictionaries have the key-value type. The size of the pool, type of values, set of keys, and default values for each key are specified in an object configuration. Policies are provided to do the following:

Object configuration

A StaticMap class object configuration contains the following elements:

All configuration parameters are required when creating a class object.

Audit configuration

A StaticMap class object does not contain additional fields for an audit configuration.

Example

security.psl

...

use nk.staticmap._

policy object M : StaticMap {

type Value = UInt16

config =

{ keys:

{ "k1": 0

, "k2": 1

}

, pool_size: 2

}

}

Page top