Commit 64f98d15 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Renamed new method.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9856 b35dd754-fafc-0310-a699-88a17e54d16e
parent 508584fb
...@@ -36,7 +36,7 @@ public interface XMPPServerInfo { ...@@ -36,7 +36,7 @@ public interface XMPPServerInfo {
* Obtain the server name (IP address or hostname). * Obtain the server name (IP address or hostname).
* *
* @return the server's name as an IP address or host name. * @return the server's name as an IP address or host name.
* @deprecated replaced by {@link #getXmppDomain()} * @deprecated replaced by {@link #getXMPPDomain()}
*/ */
@Deprecated @Deprecated
public String getName(); public String getName();
...@@ -46,7 +46,7 @@ public interface XMPPServerInfo { ...@@ -46,7 +46,7 @@ public interface XMPPServerInfo {
* must be restarted for this change to take effect. * must be restarted for this change to take effect.
* *
* @param serverName the server's name as an IP address or host name. * @param serverName the server's name as an IP address or host name.
* @deprecated replaced by {@link #setXmppDomain(String)} * @deprecated replaced by {@link #setXMPPDomain(String)}
*/ */
@Deprecated @Deprecated
public void setName(String serverName); public void setName(String serverName);
...@@ -64,7 +64,7 @@ public interface XMPPServerInfo { ...@@ -64,7 +64,7 @@ public interface XMPPServerInfo {
* *
* @return the name of the XMPP domain that this server is part of. * @return the name of the XMPP domain that this server is part of.
*/ */
public String getXmppDomain(); public String getXMPPDomain();
/** /**
* Set the server XMPP domain name. The server must be * Set the server XMPP domain name. The server must be
...@@ -73,7 +73,7 @@ public interface XMPPServerInfo { ...@@ -73,7 +73,7 @@ public interface XMPPServerInfo {
* @param domainName * @param domainName
* the XMPP domain that this server is part of. * the XMPP domain that this server is part of.
*/ */
public void setXmppDomain(String domainName); public void setXMPPDomain(String domainName);
/** /**
* Obtain the date when the server was last started. * Obtain the date when the server was last started.
......
...@@ -59,12 +59,12 @@ public class XMPPServerInfoImpl implements XMPPServerInfo { ...@@ -59,12 +59,12 @@ public class XMPPServerInfoImpl implements XMPPServerInfo {
@Deprecated @Deprecated
public String getName() { public String getName() {
return getXmppDomain(); return getXMPPDomain();
} }
@Deprecated @Deprecated
public void setName(String serverName) { public void setName(String serverName) {
setXmppDomain(serverName); setXMPPDomain(serverName);
} }
public String getHostname() public String getHostname()
...@@ -72,12 +72,12 @@ public class XMPPServerInfoImpl implements XMPPServerInfo { ...@@ -72,12 +72,12 @@ public class XMPPServerInfoImpl implements XMPPServerInfo {
return hostname; return hostname;
} }
public String getXmppDomain() public String getXMPPDomain()
{ {
return xmppDomain; return xmppDomain;
} }
public void setXmppDomain(String domainName) public void setXMPPDomain(String domainName)
{ {
this.xmppDomain = domainName; this.xmppDomain = domainName;
if (domainName == null) { if (domainName == null) {
......
...@@ -16,9 +16,8 @@ ...@@ -16,9 +16,8 @@
<%@ page import="com.sun.syndication.fetcher.impl.HashMapFeedInfoCache"%> <%@ page import="com.sun.syndication.fetcher.impl.HashMapFeedInfoCache"%>
<%@ page import="org.apache.mina.transport.socket.nio.SocketAcceptor"%> <%@ page import="org.apache.mina.transport.socket.nio.SocketAcceptor"%>
<%@ page import="org.jivesoftware.admin.AdminConsole"%> <%@ page import="org.jivesoftware.admin.AdminConsole"%>
<%@ page import="org.jivesoftware.openfire.Connection" %> <%@ page import="org.jivesoftware.database.DbConnectionManager" %>
<%@ page import="org.jivesoftware.openfire.ServerPort" %> <%@ page import="org.jivesoftware.openfire.*" %>
<%@ page import="org.jivesoftware.openfire.XMPPServer" %>
<%@ page import="org.jivesoftware.openfire.container.AdminConsolePlugin" %> <%@ page import="org.jivesoftware.openfire.container.AdminConsolePlugin" %>
<%@ page import="org.jivesoftware.openfire.filetransfer.proxy.FileTransferProxy" %> <%@ page import="org.jivesoftware.openfire.filetransfer.proxy.FileTransferProxy" %>
<%@ page import="org.jivesoftware.openfire.http.HttpBindManager" %> <%@ page import="org.jivesoftware.openfire.http.HttpBindManager" %>
...@@ -31,12 +30,20 @@ ...@@ -31,12 +30,20 @@
<%@ page import="org.jivesoftware.openfire.update.Update" %> <%@ page import="org.jivesoftware.openfire.update.Update" %>
<%@ page import="org.jivesoftware.openfire.update.UpdateManager" %> <%@ page import="org.jivesoftware.openfire.update.UpdateManager" %>
<%@ page import="org.jivesoftware.util.*" %> <%@ page import="org.jivesoftware.util.*" %>
<%@ page import="org.xmpp.packet.JID" %>
<%@ page import="java.beans.PropertyDescriptor" %>
<%@ page import="java.io.File" %>
<%@ page import="java.net.InetAddress" %>
<%@ page import="java.net.InetSocketAddress" %> <%@ page import="java.net.InetSocketAddress" %>
<%@ page import="java.net.SocketAddress" %> <%@ page import="java.net.SocketAddress" %>
<%@ page import="java.net.URL" %> <%@ page import="java.net.URL" %>
<%@ page import="java.sql.Connection" %>
<%@ page import="java.sql.SQLException" %>
<%@ page import="java.sql.Statement" %>
<%@ page import="java.text.DecimalFormat" %> <%@ page import="java.text.DecimalFormat" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.List" %> <%@ page import="java.util.List" %>
<%@ page import="org.jivesoftware.openfire.FlashCrossDomainHandler" %> <%@ page import="java.util.Map" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
...@@ -247,13 +254,13 @@ ...@@ -247,13 +254,13 @@
</td> </td>
<td class="c2"> <td class="c2">
<% try { %> <% try { %>
<% if (!CertificateManager.isRSACertificate(SSLConfig.getKeyStore(), XMPPServer.getInstance().getServerInfo().getXmppDomain())) {%> <% if (!CertificateManager.isRSACertificate(SSLConfig.getKeyStore(), XMPPServer.getInstance().getServerInfo().getXMPPDomain())) {%>
<img src="images/warning-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="index.certificate-warning" />" title="<fmt:message key="index.certificate-warning" />">&nbsp; <img src="images/warning-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="index.certificate-warning" />" title="<fmt:message key="index.certificate-warning" />">&nbsp;
<% } %> <% } %>
<% } catch (Exception e) { %> <% } catch (Exception e) { %>
<img src="images/error-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="index.certificate-error" />" title="<fmt:message key="index.certificate-error" />">&nbsp; <img src="images/error-16x16.gif" width="16" height="16" border="0" alt="<fmt:message key="index.certificate-error" />" title="<fmt:message key="index.certificate-error" />">&nbsp;
<% } %> <% } %>
${webManager.serverInfo.xmppDomain} ${webManager.serverInfo.XMPPDomain}
</td> </td>
</tr> </tr>
<tr><td>&nbsp;</td></tr> <tr><td>&nbsp;</td></tr>
......
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