Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Fields
  • Methods
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    org.jivesoftware.admin.AuthCheckFilter.isOnList(Set<String>, String)
    Replaced by IpUtils.isAddressInAnyOf(String, Set)
    org.jivesoftware.admin.AuthCheckFilter.removeBracketsFromIpv6Address(String)
    Moved to IpUtils.removeBracketsFromIpv6Address(String)
    org.jivesoftware.openfire.muc.HistoryStrategy.getChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.HistoryStrategy.hasChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MUCRoom.setSubject(String)
    Use MUCRoom.changeSubject(Message, MUCOccupant) or MUCRoom.initializeSubject(Message) instead.
    org.jivesoftware.openfire.muc.MUCRoomHistory.getChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MUCRoomHistory.hasChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MultiUserChatService.getIncomingMessageCount(boolean)
    replaced by MultiUserChatService.getIncomingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.muc.MultiUserChatService.getOutgoingMessageCount(boolean)
    replaced by MultiUserChatService.getOutgoingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.muc.spi.IQMuclumbusSearchHandler
    The protocol defined herein was formalized (with minor changes) as XEP-0433, which is implemented in IQExtendedChannelSearchHandler
    org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.getIncomingMessageCount(boolean)
    replaced by MultiUserChatServiceImpl.getIncomingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.getOutgoingMessageCount(boolean)
    replaced by MultiUserChatServiceImpl.getOutgoingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.nio.NettyChannelHandlerFactory.addNewHandlerTo(ChannelPipeline)
    Use NettyChannelHandlerFactory.addNewHandlerTo(ChannelPipeline, EventExecutorGroup) instead.
    org.jivesoftware.openfire.roster.RosterManager.isSharedGroup(Group)
    Replaced by Group.isShared()
    org.jivesoftware.openfire.session.LocalClientSession.isAddressInRange(byte[], Set<String>)
    org.jivesoftware.openfire.user.UserMultiProvider.instantiate(String)
    Use UserMultiProvider.instantiate(SystemProperty) or UserMultiProvider.instantiate(SystemProperty, SystemProperty) instead.
    org.jivesoftware.openfire.XMPPServer.getDefaultNodeID()
    use XMPPServer.getNodeID() instead. In versions of Openfire prior to 4.4.0, the cluster node identifier of a server was changed when a server joined a cluster. That's no longer the case: a cluster node now has a static identifier. As such, it's no longer needed to distinguish between the 'default' nodeID (which was used when no cluster was joined) and the cluster node ID.
  • Deprecated Classes
    Class
    Description
    org.jivesoftware.openfire.muc.spi.IQMuclumbusSearchHandler
    The protocol defined herein was formalized (with minor changes) as XEP-0433, which is implemented in IQExtendedChannelSearchHandler
    org.jivesoftware.openfire.net.SocketConnection
    Old, pre NIO / MINA code. Should not be used as Netty offers better performance. Currently only in use for server dialback.
    org.jivesoftware.openfire.net.SocketReader
    Old, pre NIO / MINA code. Should not be used as Netty offers better performance. Currently only in use for server dialback.
  • Deprecated Fields
    Field
    Description
    org.jivesoftware.openfire.session.ConnectionSettings.Client.MAX_READ_BUFFER
    not implemented for Netty as this uses max of 1 message per read instead
  • Deprecated Methods
    Method
    Description
    org.jivesoftware.admin.AuthCheckFilter.isOnList(Set<String>, String)
    Replaced by IpUtils.isAddressInAnyOf(String, Set)
    org.jivesoftware.admin.AuthCheckFilter.removeBracketsFromIpv6Address(String)
    Moved to IpUtils.removeBracketsFromIpv6Address(String)
    org.jivesoftware.database.CallableStatementWrapper.getBigDecimal(int, int)
    org.jivesoftware.database.CallableStatementWrapper.setUnicodeStream(int, InputStream, int)
    org.jivesoftware.database.PreparedStatementWrapper.setUnicodeStream(int, InputStream, int)
    org.jivesoftware.openfire.auth.AuthFactory.getAuthProvider()
    Prefer using the corresponding factory method, rather than invoking methods on the provider directly
    org.jivesoftware.openfire.muc.HistoryStrategy.getChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.HistoryStrategy.hasChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MUCRoom.setSubject(String)
    Use MUCRoom.changeSubject(Message, MUCOccupant) or MUCRoom.initializeSubject(Message) instead.
    org.jivesoftware.openfire.muc.MUCRoomHistory.getChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MUCRoomHistory.hasChangedSubject()
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MUCRoomHistory.isSubjectChangeRequest(Message)
    Since Openfire 5.1.0, a room's subject is managed by MUCRoom directly.
    org.jivesoftware.openfire.muc.MultiUserChatService.getIncomingMessageCount(boolean)
    replaced by MultiUserChatService.getIncomingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.muc.MultiUserChatService.getOutgoingMessageCount(boolean)
    replaced by MultiUserChatService.getOutgoingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.muc.spi.IQOwnerHandler.parseFirstValueAsBoolean(FormField, boolean)
    Use FormField#parseFirstValueAsBoolean(String) provided by Tinder version 1.3.1 or newer.
    org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.getIncomingMessageCount(boolean)
    replaced by MultiUserChatServiceImpl.getIncomingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.getOutgoingMessageCount(boolean)
    replaced by MultiUserChatServiceImpl.getOutgoingMessageCount() because of issue OF-3142.
    org.jivesoftware.openfire.nio.NettyChannelHandlerFactory.addNewHandlerTo(ChannelPipeline)
    Use NettyChannelHandlerFactory.addNewHandlerTo(ChannelPipeline, EventExecutorGroup) instead.
    org.jivesoftware.openfire.roster.RosterManager.isSharedGroup(Group)
    Replaced by Group.isShared()
    org.jivesoftware.openfire.session.LocalClientSession.isAddressInRange(byte[], Set<String>)
    org.jivesoftware.openfire.user.UserMultiProvider.instantiate(String)
    Use UserMultiProvider.instantiate(SystemProperty) or UserMultiProvider.instantiate(SystemProperty, SystemProperty) instead.
    org.jivesoftware.openfire.XMPPServer.getDefaultNodeID()
    use XMPPServer.getNodeID() instead. In versions of Openfire prior to 4.4.0, the cluster node identifier of a server was changed when a server joined a cluster. That's no longer the case: a cluster node now has a static identifier. As such, it's no longer needed to distinguish between the 'default' nodeID (which was used when no cluster was joined) and the cluster node ID.
    org.jivesoftware.openfire.XMPPServer.setInstance(XMPPServer)
    - for test use only
    org.jivesoftware.util.AesEncryptor.encrypt(String)
    This method uses a hardcoded IV which makes encryption deterministic (same plaintext always produces same ciphertext). This is a security vulnerability as it enables pattern analysis attacks. Use AesEncryptor.encrypt(String, byte[]) with a randomly generated IV instead. This method is only kept for backward compatibility with existing encrypted values in configuration files.
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.jivesoftware.openfire.stats.Statistic.Type.count
    OF-3142: Avoid using this type, as it is highly susceptible to bugs (there's no guarantee that sample is being invoked exactly once per intended time period).
    org.jivesoftware.openfire.stats.Statistic.Type.rate
    OF-3142: Avoid using this type, as it is highly susceptible to bugs (there's no guarantee that sample is being invoked exactly once per intended time period).

Copyright © 2003–1980 Ignite Realtime. All rights reserved.