Companion
Properties
The tenant of a principal that has none.
The platform's own tenant, reserved for the platform's callers, as CoSec reserves it: a platform role (PlatformRoles) counts only for a caller of this tenant, and a type fixed to it takes commands only from callers of this tenant and from the service's own code (#7346). It is not DEFAULT_TENANT.
The subject prefixes the framework reserves for its own (#7364): SERVICE_SUBJECT_PREFIX, a service identity, and Operator.SYSTEM_PREFIX, a framework component that issues a command on its own. A caller of a request that is not a service identity may not take one, in any letter case (reservedSubjectRefusal).
The subject of a service identity: SERVICE_SUBJECT_PREFIX and the service's name.
Functions
A Caller of the given fields; parameters added later come last, with a default. roles are its ROLES attribute (Caller.of(subject = "e1", roles = listOf("editor"))): given with attributes that name ROLES too, it fails, since the two would say different things.
The prefix of RESERVED_SUBJECT_PREFIXES subject starts with, ASCII letters compared without regard to case, or null when it starts with none: the one predicate of a reserved subject, which reservedSubjectRefusal and a command's recorded caller (me.ahoo.wow.api.decide.Command.recordedCaller) both ask.
Why caller may not make a request, or null when it may: a caller that is not a service identity whose subject starts with one of RESERVED_SUBJECT_PREFIXES, compared without regard to ASCII letter case (System:x and SERVICE:x are refused too). The one decision of it, which the edge (Authenticator) and admission (CallerAdmission.admit) both ask.