Readonly
eventsAccess the behavior's events.
Readonly
accessThe cluster shall send AccessControlEntryChanged events whenever its ACL attribute data is changed by an Administrator.
• Each added entry shall generate an event with ChangeType Added.
• Each changed entry shall generate an event with ChangeType Changed.
• Each removed entry shall generate an event with ChangeType Removed.
Readonly
accessThe cluster shall send AccessControlExtensionChanged events whenever its extension attribute data is changed by an Administrator.
• Each added extension shall generate an event with ChangeType Added.
• Each changed extension shall generate an event with ChangeType Changed.
• Each removed extension shall generate an event with ChangeType Removed.
Supported features as a flag object.
Readonly
stateAccess the behavior's state.
Readonly
acl: TypeFromFields<{ An attempt to add an Access Control Entry when no more entries are available shall result in a RESOURCE_EXHAUSTED error being reported and the ACL attribute shall NOT have the entry added to it. See access control limits.
See the AccessControlEntriesPerFabric attribute for the actual value of the number of entries per fabric supported by the server.
Each Access Control Entry codifies a single grant of privilege on this Node, and is used by the Access Control Privilege Granting algorithm to determine if a subject has privilege to interact with targets on the Node.
Optional
Readonly
extension?: TypeFromFields<{ If present, the Access Control Extensions may be used by Administrators to store arbitrary data related to fabric’s Access Control Entries.
The Access Control Extension list shall support a single extension entry per supported fabric.
Readonly
accessThis attribute shall provide the minimum number of ACL Entries per fabric that are supported by this server.
Since reducing this value over time may invalidate ACL entries already written, this value shall NOT decrease across time as software updates occur that could impact this value. If this is a concern for a given implementation, it is recommended to only use the minimum value required and avoid reporting a higher value than the required minimum.
Readonly
subjectsThis attribute shall provide the minimum number of Subjects per entry that are supported by this server.
Since reducing this value over time may invalidate ACL entries already written, this value shall NOT decrease across time as software updates occur that could impact this value. If this is a concern for a given implementation, it is recommended to only use the minimum value required and avoid reporting a higher value than the required minimum.
Readonly
targetsThis attribute shall provide the minimum number of Targets per entry that are supported by this server.
Since reducing this value over time may invalidate ACL entries already written, this value shall NOT decrease across time as software updates occur that could impact this value. If this is a concern for a given implementation, it is recommended to only use the minimum value required and avoid reporting a higher value than the required minimum.
Release resources. This is the public API for releasing application resources held by behaviors in internal state.
Execute logic with elevated privileges.
The provided function executes with privileges escalated to offline mode. This is not commonly necessary.
Elevated logic effectively ignores ACLs so should be used with care.
Note that interactions with the behavior will remain elevated until the synchronous completion of this call. You should only elevate privileges for synchronous logic.
the elevated logic
Protected
callbackCreate a generic callback function that has the same properties as a Reactor.
Like a reactor, the callback's "this" will be bound to an active Behavior instance. Because of this: The reactor MUST be a real JS function - arrow functions will not work!
Behaviors are ephemeral and should not perform initialization in their constructor. They can override this method instead.
This method may be synchronous or asyncronous. If asynchronous, the behavior will not be available for external use until initialization completes.
Optional
_options: {}Protected
reactInstall a Reactor.
Important: The reactor MUST be a real JS function - arrow functions will not work!
The implemented cluster.