Realms
Realms are routing and administrative domains that act as namespaces. All resources in Bondy belong to a Realm.
Creating, retrieving and managing realms and also enabling, disabling and checking per realm security status.
Realms are routing and administrative domains that act as namespaces. All resources in Bondy belong to a Realm. Messages are routed separately for each individual realm so sessions attached to a realm won’t see message routed on another realm.
The representation of the realm returned by the read or write operations e.g. get
, list
, create
or update
.
uri
stringREQUIREDIMMUTABLEThe realm identifier
description
stringREQUIREDA textual description of the realm.
is_prototype
booleanREQUIREDIf true this realm is a realm used as a prototype. Prototype realms cannot be used by themselves. Once a realm has been designated as a prototype it cannot be changed.
false
prototype_uri
uriIMMUTABLEIf present, this it the URI of the the realm prototype this realm inherits some of its behaviour and features from.
is_sso_realm
booleanREQUIREDIf true this realm is an SSO Realm. Once a realm has been designated as an SSO realm it cannot be changed.
false
sso_realm_uri
uriIMMUTABLEIf present, this it the URI of the SSO Realm this realm is connected to. Once a realm has been associated with an SSO realm it cannot be changed.
allow_connections
booleanREQUIREDIf true this realm is allowing connections from clients. It is normally set to false when the realm is an SSO Realm. Prototype realms never allow connections.
authmethods
array[string]REQUIREDThe list of the authentication methods allowed by this realm. Allowed values: 'anonymous', 'trust', 'password', 'ticket', 'oauth2', 'wampcra', 'cryptosign'
[]
security_enabled
booleanWhether security is enabled or not.
users
array[User]A list of user objects.
groups
array[object]A list of group objects.
name
stringREQUIREDIMMUTABLEThe group identifier.
groups
array[string]A list of group names.
sources
array[source]A list of source objects.
grants
array[object]A list of grant objects.
permissions
array[string]REQUIREDA list of permissions. Allowed values: 'wamp.register','wamp.unregister','wamp.subscribe','wamp.unsubscribe','wamp.call','wamp.cancel','wamp.publish'
roles
array[string]REQUIREDA list of group names.
uri
stringREQUIREDmatch
stringREQUIREDAllowed values: 'exact', 'prefix', 'wildcard'
resources
array[object]uri
stringREQUIREDmatch
stringREQUIREDAllowed values: 'exact', 'prefix', 'wildcard'
security_status
stringThe string 'enabled' if enabled is true. Otherwise the string is 'disabled'.
The object used to create or update a realm. Notice this object contains more information than the actually create realm e.g. users, groups, etc.
The object represents as overview of the all realm properties but the available properties are detailed in each particular operation.
uri
stringREQUIREDIMMUTABLEThe realm identifier
description
stringREQUIREDA textual description of the realm.
is_prototype
booleanREQUIREDIf true this realm is a realm used as a prototype. Prototype realms cannot be used by themselves. Once a realm has been designated as a prototype it cannot be changed.
false
prototype_uri
uriIMMUTABLEIf present, this it the URI of the the realm prototype this realm inherits some of its behaviour and features from.
is_sso_realm
booleanREQUIREDIf true this realm is an SSO Realm. Once a realm has been designated as an SSO realm it cannot be changed.
false
sso_realm_uri
uriIMMUTABLEIf present, this it the URI of the SSO Realm this realm is connected to. Once a realm has been associated with an SSO realm it cannot be changed.
allow_connections
booleanREQUIREDIf true this realm is allowing connections from clients. It is normally set to false when the realm is an SSO Realm. Prototype realms never allow connections.
authmethods
array[string]REQUIREDThe list of the authentication methods allowed by this realm. Allowed values: 'anonymous', 'trust', 'password', 'ticket', 'oauth2', 'wampcra', 'cryptosign'
[]
security_enabled
booleanWhether security is enabled or not.
users
array[User]A list of user objects.
groups
array[object]A list of group objects.
name
stringREQUIREDIMMUTABLEThe group identifier.
groups
array[string]A list of group names.
sources
array[source]A list of source objects.
grants
array[object]A list of grant objects.
permissions
array[string]REQUIREDA list of permissions. Allowed values: 'wamp.register','wamp.unregister','wamp.subscribe','wamp.unsubscribe','wamp.call','wamp.cancel','wamp.publish'
roles
array[string]REQUIREDA list of group names.
uri
stringREQUIREDmatch
stringREQUIREDAllowed values: 'exact', 'prefix', 'wildcard'
resources
array[object]uri
stringREQUIREDmatch
stringREQUIREDAllowed values: 'exact', 'prefix', 'wildcard'
private_keys
array[private_key]A list of private keys used for signing.
encryption_keys
array[private_key]A list of private keys used for encryption.