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 @@ ...@@ -6,7 +6,7 @@
<name>GoJara</name> <name>GoJara</name>
<description>ProtoXEP-xxxx: Remote Roster Management support <description>XEP-0321: Remote Roster Management support
</description> </description>
<author>Holger Bergunde / Daniel Henninger / Axel-F. Brand</author> <author>Holger Bergunde / Daniel Henninger / Axel-F. Brand</author>
<version>2.2.0</version> <version>2.2.0</version>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<artifactId>gojara</artifactId> <artifactId>gojara</artifactId>
<version>2.2.0</version> <version>2.2.0</version>
<name>Gojara Plugin</name> <name>Gojara Plugin</name>
<description>ProtoXEP-xxxx: Remote Roster Management support</description> <description>XEP-0321: Remote Roster Management support</description>
<developers> <developers>
<developer> <developer>
...@@ -41,4 +41,4 @@ ...@@ -41,4 +41,4 @@
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
...@@ -58,8 +58,8 @@ GoJara Plugin Readme ...@@ -58,8 +58,8 @@ GoJara Plugin Readme
<h2>Overview</h2> <h2>Overview</h2>
<p> <p>
This plugin will implement the proto-XEP, Remote Roster, discussed This plugin will implement the XEP-0321, Remote Roster Management, discussed
<a href="http://jkaluza.fedorapeople.org/remote-roster.html">here</a>. <a href="https://xmpp.org/extensions/xep-0321.html">here</a>.
Basically it's purpose is to allow an external component full Basically it's purpose is to allow an external component full
control over the part of a roster it's assigned. For example, 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 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 ...@@ -69,7 +69,7 @@ subscription requests upon registration. This plugin also implements
a few minor extensions that Kraken used to implement for Spark, though a few minor extensions that Kraken used to implement for Spark, though
those are optional. those are optional.
You can also use it for viewing gateway sessions, managing existing gateway-registrations 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> </p>
<h2>Installation</h2> <h2>Installation</h2>
...@@ -85,4 +85,4 @@ gojara.jar file over the existing file.</p> ...@@ -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 include admin_jid = gojaraadmin@domain. This way we can gather info like used Memory and unregister
Users from Openfire Console</p> Users from Openfire Console</p>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -28,14 +28,14 @@ import org.xmpp.packet.JID; ...@@ -28,14 +28,14 @@ import org.xmpp.packet.JID;
/** /**
* @author Holger Bergunde * @author Holger Bergunde
* @author axel.frederik.brand * @author axel.frederik.brand
* *
* This class is the basic reprasentation for the GoJara plugin. It is * This class is the basic reprasentation for the GoJara plugin. It is
* the entry point for openfire to start or stop this plugin. * 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 * Management. Further information: <a
* href="http://jkaluza.fedorapeople.org/remote-roster.html">Here</a> * href="http://jkaluza.fedorapeople.org/remote-roster.html">Here</a>
* *
* RemoteRoster enables Spectrum IM support for Openfire. Currently only * 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 * 2.3, 2.4 and 2.5 implemented. 2.1 and 2.2 of the protocol standard is
* not supported by Spectrum IM * not supported by Spectrum IM
...@@ -52,7 +52,7 @@ public class RemoteRosterPlugin implements Plugin { ...@@ -52,7 +52,7 @@ public class RemoteRosterPlugin implements Plugin {
private InternalComponentManager compManager = InternalComponentManager.getInstance(); private InternalComponentManager compManager = InternalComponentManager.getInstance();
private TransportSessionManager transportSessionManager = TransportSessionManager.getInstance(); private TransportSessionManager transportSessionManager = TransportSessionManager.getInstance();
private GojaraAdminManager gojaraAdminManager = GojaraAdminManager.getInstance(); private GojaraAdminManager gojaraAdminManager = GojaraAdminManager.getInstance();
public void initializePlugin(PluginManager manager, File pluginDirectory) { public void initializePlugin(PluginManager manager, File pluginDirectory) {
pluginManager = manager; pluginManager = manager;
iManager.addInterceptor(mainInterceptor); iManager.addInterceptor(mainInterceptor);
...@@ -73,7 +73,7 @@ public class RemoteRosterPlugin implements Plugin { ...@@ -73,7 +73,7 @@ public class RemoteRosterPlugin implements Plugin {
* Check if the unregistered component contains to one of our * Check if the unregistered component contains to one of our
* package interceptors * package interceptors
*/ */
public void componentUnregistered(JID componentJID) { public void componentUnregistered(JID componentJID) {
mainInterceptor.removeTransport(componentJID.toString()); mainInterceptor.removeTransport(componentJID.toString());
} }
...@@ -82,12 +82,12 @@ public class RemoteRosterPlugin implements Plugin { ...@@ -82,12 +82,12 @@ public class RemoteRosterPlugin implements Plugin {
* If there is a new external Component, check if it is a gateway * If there is a new external Component, check if it is a gateway
* and add create a package interceptor if it is enabled * and add create a package interceptor if it is enabled
*/ */
public void componentRegistered(JID componentJID) { public void componentRegistered(JID componentJID) {
_waitingForIQResponse.add(componentJID.getDomain()); _waitingForIQResponse.add(componentJID.getDomain());
} }
public void componentInfoReceived(IQ iq) { public void componentInfoReceived(IQ iq) {
String from = iq.getFrom().getDomain(); String from = iq.getFrom().getDomain();
// Waiting for this external component sending an IQ response to // Waiting for this external component sending an IQ response to
......
...@@ -10,18 +10,18 @@ import org.xmpp.packet.IQ; ...@@ -10,18 +10,18 @@ import org.xmpp.packet.IQ;
import org.xmpp.packet.Packet; 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 * "2.4 Client sends user update". Part of command pattern used in
* {@link MainInterceptor} * {@link MainInterceptor}
* *
* Further information: <a * Further information: <a
* href="http://jkaluza.fedorapeople.org/remote-roster.html#sect-id215516" * href="http://jkaluza.fedorapeople.org/remote-roster.html#sect-id215516"
* >Here</a> * >Here</a>
* *
* @author Holger Bergunde * @author Holger Bergunde
* *
* Example IQ: * 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"> * <query xmlns="jabber:iq:roster"> <item jid="123456789@subdomain" name="wulschti" subscription="both">
* <group>General</group> </item> </query> </iq> * <group>General</group> </item> </query> </iq>
*/ */
......
...@@ -23,14 +23,14 @@ import org.xmpp.packet.JID; ...@@ -23,14 +23,14 @@ import org.xmpp.packet.JID;
import org.xmpp.packet.Packet; 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} * Part of command pattern used in {@link RemoteRosterInterceptor}
* *
* Further information: <a href="http://jkaluza.fedorapeople.org/remote-roster.html#sect-id215516" >Here</a> * Further information: <a href="http://jkaluza.fedorapeople.org/remote-roster.html#sect-id215516" >Here</a>
* *
* @author Holger Bergunde * @author Holger Bergunde
* @author axel.frederik.brand * @author axel.frederik.brand
* *
*/ */
public class IQRosterPayloadProcessor extends AbstractRemoteRosterProcessor { public class IQRosterPayloadProcessor extends AbstractRemoteRosterProcessor {
...@@ -169,7 +169,7 @@ 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 * Searches the users roster for a specific subdomain and deletes all contacts that contain subdomain
* *
* @param username * @param username
* @param subdomain * @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