TrustLattice

interface TrustLattice<T : TrustLattice<T>?>

A lattice whose elements are interpreted as principals.

Functions

actsFor
Link copied to clipboard
abstract fun actsFor(that: T): Boolean

Decide if this is trusted to enforce that's security policies.

and
Link copied to clipboard
abstract infix fun and(that: T): T

The least powerful principal that can act for both this and that. This denotes a conjunction of authority.

or
Link copied to clipboard
abstract infix fun or(that: T): T

The most powerful principal both this and that can act for. This denotes a disjunction of authority.

Inheritors

Label
Link copied to clipboard