The configuration of the Authentication Swiftlet is defined within the element
<swiftlet name="sys$authentication" .../>
of the router's configuration file. One can use the SwiftMQ Exlorer or CLI for configuration as well. They both save into that file.
Attributes of Element "swiftlet"
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| authentication-enabled | java.lang.Boolean | No | Enabes/Disables Authentication |
Values
| Attribute | Values |
|---|---|
| authentication-enabled | Default: false |
Element List "groups", Parent Element: "swiftlet"
Authentication Group Definitions. This element list contains zero or more "group" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Group |
Element List "queue-grants", Parent Element: "group"
Queue Grant Definitions. This element list contains zero or more "queue-grant" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Queue Grant |
| receive-grant | java.lang.Boolean | No | Grant to create a QueueReceiver on this Queue |
| send-grant | java.lang.Boolean | No | Grant to create a QueueSender on this Queue |
| browse-grant | java.lang.Boolean | No | Grant to create a QueueBrowser on this Queue |
Values
| Attribute | Values |
|---|---|
| receive-grant | Default: true |
| send-grant | Default: true |
| browse-grant | Default: true |
Element List "topic-grants", Parent Element: "group"
Topic Grant Definitions. This element list contains zero or more "topic-grant" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Topic Grant |
| subscribe-grant | java.lang.Boolean | No | Grant to subscribe for this Topic |
| publish-grant | java.lang.Boolean | No | Grant to publish to this Topic |
| durable-grant | java.lang.Boolean | No | Grant to create a Durable Subscriber on this Topic |
Values
| Attribute | Values |
|---|---|
| subscribe-grant | Default: true |
| publish-grant | Default: true |
| durable-grant | Default: true |
Element List "resource-limit-groups", Parent Element: "swiftlet"
Resource Limit Group Definitions. This element list contains zero or more "resource-limit-group" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Resource Limit Group |
| max-connections | java.lang.Integer | Yes | Maximum Connections |
| max-tempqueues | java.lang.Integer | Yes | Maximum temp. Queues/Connection |
| max-sessions | java.lang.Integer | Yes | Maximum Sessions/Connection |
| max-producers | java.lang.Integer | Yes | Maximum Producers/Connection |
| max-consumers | java.lang.Integer | Yes | Maximum Consumers/Connection |
Values
| Attribute | Values |
|---|---|
| max-connections | Default: -1 |
| max-tempqueues | Min: 1 Default: 50 |
| max-sessions | Min: 1 Default: 50 |
| max-producers | Min: 1 Default: 50 |
| max-consumers | Min: 1 Default: 50 |
Element List "users", Parent Element: "swiftlet"
User Definitions. This element list contains zero or more "user" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this User |
| password | java.lang.String | No | Password |
| group | java.lang.String | Yes | Authentication Group |
| resource-limit-group | java.lang.String | Yes | Resource Limit Group |
Values
| Attribute | Values |
|---|---|
| password | |
| group | Default: public |
| resource-limit-group | Default: public |
Element List "host-access-list", Parent Element: "user"
Host Access List Definitions. This element list contains zero or more "host-access-list" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Host Access List |