Interface ServerSession
-
- All Superinterfaces:
ChannelHandler<org.xmpp.packet.Packet>
,RoutableChannelHandler
,Session
- All Known Subinterfaces:
IncomingServerSession
,OutgoingServerSession
- All Known Implementing Classes:
LocalIncomingServerSession
,LocalOutgoingServerSession
,LocalServerSession
,RemoteIncomingServerSession
,RemoteOutgoingServerSession
public interface ServerSession extends Session
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServerSession.AuthenticationMethod
-
Nested classes/interfaces inherited from interface org.jivesoftware.openfire.session.Session
Session.Status
-
-
Field Summary
-
Fields inherited from interface org.jivesoftware.openfire.session.Session
Log, MAJOR_VERSION, MINOR_VERSION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServerSession.AuthenticationMethod
getAuthenticationMethod()
Obtain method that was used to authenticate this session.default boolean
isUsingSaslExternal()
Returns true if this server session was authenticated using the SASL EXTERNAL mechanism.default boolean
isUsingServerDialback()
Returns true if this server session was authenticated using server dialback.-
Methods inherited from interface org.jivesoftware.openfire.session.Session
close, deliverRawText, getAddress, getCipherSuiteName, getCreationDate, getHostAddress, getHostName, getLanguage, getLastActiveDate, getNumClientPackets, getNumServerPackets, getPeerCertificates, getServerName, getSoftwareVersion, getStatus, getStreamID, getTLSProtocolName, isAuthenticated, isClosed, isEncrypted, process, validate
-
-
-
-
Method Detail
-
getAuthenticationMethod
ServerSession.AuthenticationMethod getAuthenticationMethod()
Obtain method that was used to authenticate this session. Null when the session is not authenticated.- Returns:
- the method used for authentication (possibly null).
-
isUsingServerDialback
default boolean isUsingServerDialback()
Returns true if this server session was authenticated using server dialback.- Returns:
- true if this server session was authenticated using server dialback.
-
isUsingSaslExternal
default boolean isUsingSaslExternal()
Returns true if this server session was authenticated using the SASL EXTERNAL mechanism.- Returns:
- true if this server session was authenticated using the SASL EXTERNAL mechanism.
-
-