| Package | Description |
|---|---|
| org.jivesoftware.openfire.pubsub |
Implementation of Publish-Subscribe (XEP-0060).
|
| org.jivesoftware.openfire.pubsub.models |
Defines policies that define who is allowed to subscribe and retrieve items or policies that
define who is allowed to publish items to nodes (XEP-0060).
|
| Modifier and Type | Field and Description |
|---|---|
protected AccessModel |
Node.accessModel
Access model that specifies who is allowed to subscribe and retrieve items.
|
| Modifier and Type | Method and Description |
|---|---|
AccessModel |
Node.getAccessModel()
Returns the access model that specifies who is allowed to subscribe and retrieve items.
|
AccessModel |
DefaultNodeConfiguration.getAccessModel()
Returns the access model that specifies who is allowed to subscribe and retrieve items.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultNodeConfiguration.setAccessModel(AccessModel accessModel)
Sets the access model that specifies who is allowed to subscribe and retrieve items.
|
| Constructor and Description |
|---|
CollectionNode(PubSubService.UniqueIdentifier serviceId,
CollectionNode parentNode,
String nodeID,
org.xmpp.packet.JID creator,
boolean subscriptionEnabled,
boolean deliverPayloads,
boolean notifyConfigChanges,
boolean notifyDelete,
boolean notifyRetract,
boolean presenceBasedDelivery,
AccessModel accessModel,
PublisherModel publisherModel,
String language,
Node.ItemReplyPolicy replyPolicy,
CollectionNode.LeafNodeAssociationPolicy associationPolicy,
int maxLeafNodes) |
LeafNode(PubSubService.UniqueIdentifier serviceId,
CollectionNode parentNode,
String nodeID,
org.xmpp.packet.JID creator,
boolean subscriptionEnabled,
boolean deliverPayloads,
boolean notifyConfigChanges,
boolean notifyDelete,
boolean notifyRetract,
boolean presenceBasedDelivery,
AccessModel accessModel,
PublisherModel publisherModel,
String language,
Node.ItemReplyPolicy replyPolicy,
boolean persistPublishedItems,
int maxPublishedItems,
int maxPayloadSize,
boolean sendItemSubscribe) |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorizeAccess
Subscription requests must be approved and only subscribers may retrieve items.
|
class |
OpenAccess
Anyone may subscribe and retrieve items.
|
class |
PresenceAccess
Anyone with a presence subscription of both or from may subscribe and retrieve items.
|
class |
RosterAccess
Anyone in the specified roster group(s) may subscribe and retrieve items.
|
class |
WhitelistAccess
Only those on a whitelist may subscribe and retrieve items.
|
| Modifier and Type | Field and Description |
|---|---|
static AccessModel |
AccessModel.authorize |
static AccessModel |
AccessModel.open |
static AccessModel |
AccessModel.presence |
static AccessModel |
AccessModel.roster |
static AccessModel |
AccessModel.whitelist |
| Modifier and Type | Method and Description |
|---|---|
static AccessModel |
AccessModel.valueOf(String name)
Returns the specific subclass of AccessModel as specified by the access
model name.
|
Copyright © 2003–2020 Ignite Realtime. All rights reserved.