StaticMap class get_uncommited policy

Returns the current value of the specified key in the working copy of the dictionary associated with the resource.

Type: expression policy.

Syntax

get_uncommited {sid: Handle, key: Key}

In this case:

Returned value

The policy returns the value of the specified key, or KSS_DENY in the following cases:

Example

...

/* For a Server entity query via the security interface, the value of key "k1" in the working copy

of its associated dictionary is compared to the number 0 */

security src=Server, method=GetUncommited {

assert(M.get_uncommited { sid: src_sid, key: "k1" } != 0)

}

Page top