Commit 5131fc29 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added #validateHost. JM-417

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2891 b35dd754-fafc-0310-a699-88a17e54d16e
parent 696b5647
...@@ -81,6 +81,10 @@ public class ClientSocketReader extends SocketReader { ...@@ -81,6 +81,10 @@ public class ClientSocketReader extends SocketReader {
return "jabber:client"; return "jabber:client";
} }
boolean validateHost() {
return true;
}
protected String getAvailableStreamFeatures() { protected String getAvailableStreamFeatures() {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
// TODO Create and use #hasSASLAuthentication // TODO Create and use #hasSASLAuthentication
......
...@@ -58,6 +58,10 @@ public class ComponentSocketReader extends SocketReader { ...@@ -58,6 +58,10 @@ public class ComponentSocketReader extends SocketReader {
return "jabber:component:accept"; return "jabber:component:accept";
} }
boolean validateHost() {
return false;
}
String getAvailableStreamFeatures() { String getAvailableStreamFeatures() {
// Nothing special to add // Nothing special to add
return null; return null;
......
...@@ -215,6 +215,10 @@ public class ServerSocketReader extends SocketReader { ...@@ -215,6 +215,10 @@ public class ServerSocketReader extends SocketReader {
return "jabber:server"; return "jabber:server";
} }
boolean validateHost() {
return true;
}
String getAvailableStreamFeatures() { String getAvailableStreamFeatures() {
// Nothing special to add // Nothing special to add
return null; return null;
......
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