Commit c07380e3 authored by Florian Kinder's avatar Florian Kinder Committed by daryl herzmann

Replaced XEP-xxx with XEP-0321 (#888)

parent daf92ff2
......@@ -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>
......
......@@ -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>
......@@ -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="https://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>
......@@ -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
......
......@@ -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>
*/
......
......@@ -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
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment