-
Nested Class Summary
Nested Classes
Nested classes/interfaces inherited from interface org.jivesoftware.openfire.session.Session
Session.Status
-
-
Method Summary
Obtain method that was used to authenticate this session.
default boolean
Returns true if this server session was authenticated using the SASL EXTERNAL mechanism.
default boolean
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, isDetached, isEncrypted, process, validate
-
Method Details
-
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.