Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
c07380e3
Commit
c07380e3
authored
Oct 27, 2017
by
Florian Kinder
Committed by
daryl herzmann
Oct 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced XEP-xxx with XEP-0321 (#888)
parent
daf92ff2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
25 deletions
+25
-25
plugin.xml
src/plugins/gojara/plugin.xml
+1
-1
pom.xml
src/plugins/gojara/pom.xml
+2
-2
readme.html
src/plugins/gojara/readme.html
+4
-4
RemoteRosterPlugin.java
...tware/openfire/plugin/gojara/base/RemoteRosterPlugin.java
+8
-8
ClientToComponentUpdateProcessor.java
...gefilter/processors/ClientToComponentUpdateProcessor.java
+5
-5
IQRosterPayloadProcessor.java
...ra/messagefilter/processors/IQRosterPayloadProcessor.java
+5
-5
No files found.
src/plugins/gojara/plugin.xml
View file @
c07380e3
...
...
@@ -6,7 +6,7 @@
<name>
GoJara
</name>
<description>
ProtoXEP-xxxx
: Remote Roster Management support
<description>
XEP-0321
: Remote Roster Management support
</description>
<author>
Holger Bergunde / Daniel Henninger / Axel-F. Brand
</author>
<version>
2.2.0
</version>
...
...
src/plugins/gojara/pom.xml
View file @
c07380e3
...
...
@@ -10,7 +10,7 @@
<artifactId>
gojara
</artifactId>
<version>
2.2.0
</version>
<name>
Gojara Plugin
</name>
<description>
ProtoXEP-xxxx
: Remote Roster Management support
</description>
<description>
XEP-0321
: Remote Roster Management support
</description>
<developers>
<developer>
...
...
@@ -41,4 +41,4 @@
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
src/plugins/gojara/readme.html
View file @
c07380e3
...
...
@@ -58,8 +58,8 @@ GoJara Plugin Readme
<h2>
Overview
</h2>
<p>
This plugin will implement the
proto-XEP, Remote Roster
, discussed
<a
href=
"http
://jkaluza.fedorapeople.org/remote-roster
.html"
>
here
</a>
.
This plugin will implement the
XEP-0321, Remote Roster Management
, discussed
<a
href=
"http
s://xmpp.org/extensions/xep-0321
.html"
>
here
</a>
.
Basically it's purpose is to allow an external component full
control over the part of a roster it's assigned. For example,
if the AIM transport is at aim.example.org, you can allow that transport
...
...
@@ -69,7 +69,7 @@ subscription requests upon registration. This plugin also implements
a few minor extensions that Kraken used to implement for Spark, though
those are optional.
You can also use it for viewing gateway sessions, managing existing gateway-registrations
and looking into basic Spectrum2 related Statistics
and looking into basic Spectrum2 related Statistics
</p>
<h2>
Installation
</h2>
...
...
@@ -85,4 +85,4 @@ gojara.jar file over the existing file.</p>
include admin_jid = gojaraadmin@domain. This way we can gather info like used Memory and unregister
Users from Openfire Console
</p>
</body>
</html>
\ No newline at end of file
</html>
src/plugins/gojara/src/java/org/jivesoftware/openfire/plugin/gojara/base/RemoteRosterPlugin.java
View file @
c07380e3
...
...
@@ -28,14 +28,14 @@ import org.xmpp.packet.JID;
/**
* @author Holger Bergunde
* @author axel.frederik.brand
*
*
* This class is the basic reprasentation for the GoJara plugin. It is
* the entry point for openfire to start or stop this plugin.
*
* GoJara has been developed to support XEP-
xxx Remote Roster
*
* GoJara has been developed to support XEP-
0321 Remote Roster Management
* Management. Further information: <a
* href="http://jkaluza.fedorapeople.org/remote-roster.html">Here</a>
*
*
* RemoteRoster enables Spectrum IM support for Openfire. Currently only
* 2.3, 2.4 and 2.5 implemented. 2.1 and 2.2 of the protocol standard is
* not supported by Spectrum IM
...
...
@@ -52,7 +52,7 @@ public class RemoteRosterPlugin implements Plugin {
private
InternalComponentManager
compManager
=
InternalComponentManager
.
getInstance
();
private
TransportSessionManager
transportSessionManager
=
TransportSessionManager
.
getInstance
();
private
GojaraAdminManager
gojaraAdminManager
=
GojaraAdminManager
.
getInstance
();
public
void
initializePlugin
(
PluginManager
manager
,
File
pluginDirectory
)
{
pluginManager
=
manager
;
iManager
.
addInterceptor
(
mainInterceptor
);
...
...
@@ -73,7 +73,7 @@ public class RemoteRosterPlugin implements Plugin {
* Check if the unregistered component contains to one of our
* package interceptors
*/
public
void
componentUnregistered
(
JID
componentJID
)
{
mainInterceptor
.
removeTransport
(
componentJID
.
toString
());
}
...
...
@@ -82,12 +82,12 @@ public class RemoteRosterPlugin implements Plugin {
* If there is a new external Component, check if it is a gateway
* and add create a package interceptor if it is enabled
*/
public
void
componentRegistered
(
JID
componentJID
)
{
_waitingForIQResponse
.
add
(
componentJID
.
getDomain
());
}
public
void
componentInfoReceived
(
IQ
iq
)
{
String
from
=
iq
.
getFrom
().
getDomain
();
// Waiting for this external component sending an IQ response to
...
...
src/plugins/gojara/src/java/org/jivesoftware/openfire/plugin/gojara/messagefilter/processors/ClientToComponentUpdateProcessor.java
View file @
c07380e3
...
...
@@ -10,18 +10,18 @@ import org.xmpp.packet.IQ;
import
org.xmpp.packet.Packet
;
/**
* This class implements the XEP-
xxx Remote Roster Management standard
* This class implements the XEP-
0321 Remote Roster Management standard
* "2.4 Client sends user update". Part of command pattern used in
* {@link MainInterceptor}
*
*
* Further information: <a
* href="http://jkaluza.fedorapeople.org/remote-roster.html#sect-id215516"
* >Here</a>
*
* @author Holger Bergunde
*
* @author Holger Bergunde
*
* Example IQ:
* <iq id="FSwIU-68" type="set" from="user@example/resource">
* <iq id="FSwIU-68" type="set" from="user@example/resource">
* <query xmlns="jabber:iq:roster"> <item jid="123456789@subdomain" name="wulschti" subscription="both">
* <group>General</group> </item> </query> </iq>
*/
...
...
src/plugins/gojara/src/java/org/jivesoftware/openfire/plugin/gojara/messagefilter/processors/IQRosterPayloadProcessor.java
View file @
c07380e3
...
...
@@ -23,14 +23,14 @@ import org.xmpp.packet.JID;
import
org.xmpp.packet.Packet
;
/**
* This class implements the XEP-
xxx Remote Roster Management standard "2.3 Server or component requests user's roster".
* This class implements the XEP-
0321 Remote Roster Management standard "2.3 Server or component requests user's roster".
* Part of command pattern used in {@link RemoteRosterInterceptor}
*
*
* Further information: <a href="http://jkaluza.fedorapeople.org/remote-roster.html#sect-id215516" >Here</a>
*
*
* @author Holger Bergunde
* @author axel.frederik.brand
*
*
*/
public
class
IQRosterPayloadProcessor
extends
AbstractRemoteRosterProcessor
{
...
...
@@ -169,7 +169,7 @@ public class IQRosterPayloadProcessor extends AbstractRemoteRosterProcessor {
/**
* Searches the users roster for a specific subdomain and deletes all contacts that contain subdomain
*
*
* @param username
* @param subdomain
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment