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
  • Method Details

    • 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.