• Guus der Kinderen's avatar
    OF-1125: Should use StreamID class instead of String. · 2cc0a948
    Guus der Kinderen authored
    To represent a stream ID, Openfire defines the StreamID interface. However,
    that interface is hardly used. Instead, simple String representations are used
    in most places.
    
    StreamIDs should conform to some specifications (notably: they shouldn't
    include XML special characters). An implementation of the StreamID interface
    is a good place to enforce specifications like that.
    
    This commit replaces all String-based stream ID representations with an
    implemenation of StreamID. For clustering/hazelcast, the serialized string
    is still being used to exchange data between nodes (I expect that this allows
    older and newer cluster nodes to continue to exchange cache information within
    the same cluster).
    
    Also in this commit:
    - StreamID implementations check for (and escape) XML special characters.
    - Duplicate implemenations of the StreamID interface are removed.
    
    Some code refers to streamID while in reality session IDs are implemented. This
    commit does not affect those pieces of code.
    2cc0a948
Name
Last commit
Last update
..
admin Loading commit data...
bookmarks Loading commit data...
broadcast Loading commit data...
callbackOnOffline Loading commit data...
clientControl Loading commit data...
clustering Loading commit data...
contentFilter Loading commit data...
dbaccess Loading commit data...
emailListener Loading commit data...
emailOnAway Loading commit data...
fastpath Loading commit data...
gojara Loading commit data...
hazelcast Loading commit data...
jingleNodes Loading commit data...
jmxweb Loading commit data...
justmarried Loading commit data...
kraken Loading commit data...
loadStats Loading commit data...
monitoring Loading commit data...
motd Loading commit data...
mucservice Loading commit data...
nodejs Loading commit data...
nonSaslAuthentication Loading commit data...
packetFilter Loading commit data...
presence Loading commit data...
rayo Loading commit data...
registration Loading commit data...
restAPI Loading commit data...
search Loading commit data...
sip Loading commit data...
stunserver Loading commit data...
subscription Loading commit data...
userCreation Loading commit data...
userImportExport Loading commit data...
userservice Loading commit data...
websocket Loading commit data...
xmldebugger Loading commit data...