Uses of Class
org.jivesoftware.openfire.session.LocalSession
Packages that use LocalSession
Package
Description
Service discovery implementation (XEP-0030).
Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH).
Provides classes for SASL.
-
Uses of LocalSession in org.jivesoftware.openfire
Methods in org.jivesoftware.openfire with parameters of type LocalSessionModifier and TypeMethodDescriptionvoidSessionManager.addDetached(LocalSession localSession) Record a session as being detached (ie, has no connection).voidConnection.init(LocalSession session) Initializes the connection with it's owning session.booleanSessionManager.isDetached(LocalSession localSession) Checks if a session is currently in the detached state (ie, has no connection, but has not been formally closed yet either).voidConnection.reinit(LocalSession session) Reinitializes the connection to switch to a different session.booleanSessionManager.removeDetached(LocalSession localSession) Remove a session as being detached.voidSessionManager.terminateDetached(LocalSession session) Terminate a session that is detached. -
Uses of LocalSession in org.jivesoftware.openfire.disco
Methods in org.jivesoftware.openfire.disco with parameters of type LocalSessionModifier and TypeMethodDescriptionstatic voidIQDiscoInfoHandler.setSoftwareVersionDataFormFromDiscoInfo(org.dom4j.Element query, LocalSession session) Set all Software Version data responsed by the peer for the Software information request Service Discovery (XEP-0232) -
Uses of LocalSession in org.jivesoftware.openfire.fast
Methods in org.jivesoftware.openfire.fast with parameters of type LocalSessionModifier and TypeMethodDescriptionvoidFastRequest.applyTo(LocalSession session) Records this request on the session, for the SASL mechanism implementation and for the handling of a successful authentication to act on.static voidFastSessionState.clearAuthenticationAttempt(LocalSession session) Clears all state after an authentication attempt has completed.static voidFastSessionState.clearRequest(LocalSession session) Clears input state before parsing a new authentication request.FastSessionState.getAdvertisedMechanisms(LocalSession session) Returns the FAST mechanisms that were advertised to this session in the XEP-0484 inline feature.static StringFastSessionState.getAuthenticatedClientId(LocalSession session) Returns the client identifier whose token was successfully validated.static StringFastSessionState.getClientId(LocalSession session) Returns the client identifier that this authentication attempt applies to.static StringFastSessionState.getExpectedUsername(LocalSession session) Returns the username that the client claimed in the stream's 'from' attribute.static LongFastSessionState.getReplayCount(LocalSession session) Returns the replay counter that the client supplied with its token.static StringFastSessionState.getRequestedMechanism(LocalSession session) Returns the FAST mechanism for which the client has asked to be issued a token.static FastTokenFastSessionState.getRotatedToken(LocalSession session) Returns the replacement token that was issued while validating the token the client presented.static booleanFastSessionState.isInvalidateRequested(LocalSession session) Returns whether the client has asked for the token it is authenticating with to be invalidated.static voidFastSessionState.setAdvertisedMechanisms(LocalSession session, Set<String> mechanisms) Records the FAST mechanisms that were advertised to this session in the XEP-0484 inline feature.static voidFastSessionState.setAuthenticatedClientId(LocalSession session, String clientId) Records the client identifier whose token was successfully validated, as established by the SASL mechanism rather than claimed by the client.static voidFastSessionState.setClientId(LocalSession session, String clientId) Records the client identifier that this authentication attempt applies to, taken from the 'id' attribute of the SASL2 user-agent element.static voidFastSessionState.setExpectedUsername(LocalSession session, String expectedUsername) Records the username that the client claimed in the stream's 'from' attribute.static voidFastSessionState.setInvalidate(LocalSession session) Records that the client has asked for the token it is authenticating with to be invalidated.static voidFastSessionState.setReplayCount(LocalSession session, long count) Records the replay counter that the client supplied with its token.static voidFastSessionState.setRequestedMechanism(LocalSession session, String mechanism) Records the FAST mechanism for which the client has asked to be issued a token.static voidFastSessionState.setRotatedToken(LocalSession session, FastToken token) Records a replacement token that was issued while validating the token the client presented, for inclusion in the SASL2 success response. -
Uses of LocalSession in org.jivesoftware.openfire.http
Subclasses of LocalSession in org.jivesoftware.openfire.httpModifier and TypeClassDescriptionclassA session represents a series of interactions with an XMPP client sending packets using the HTTP Binding protocol specified in XEP-0124. -
Uses of LocalSession in org.jivesoftware.openfire.net
Fields in org.jivesoftware.openfire.net declared as LocalSessionModifier and TypeFieldDescriptionprotected LocalSessionAbstractConnection.sessionThe session that owns this connection.protected LocalSessionStanzaHandler.sessionSession associated with the socket reader.Methods in org.jivesoftware.openfire.net that return LocalSessionModifier and TypeMethodDescriptionAbstractConnection.getSession()Returns the session that owns this connection, if the connection has been initialized.RespondingServerStanzaHandler.getSession()Methods in org.jivesoftware.openfire.net with parameters of type LocalSessionModifier and TypeMethodDescriptionstatic voidSaslStreamFeatures.appendSASLFeatures(LocalSession session, List<org.dom4j.Element> features) Adds the SASL-related stream features for the given session, and records what was advertised.static List<org.dom4j.Element>SaslStreamFeatures.asSASLMechanisms(LocalSession session, Set<String> advertisableMechanismNames, Set<String> advertisableChannelBindingTypes) Returns a list of XML elements representing the SASL mechanism features that are applicable to the given session.SASLAuthentication.getAdvertisedChannelBindingTypes(LocalSession session) Returns the set of channel binding types that has previously been advertised for/to the given session as being available for use for that session.SASLAuthentication.getAdvertisedSASLMechanisms(LocalSession session) Returns the set of SASL mechanism names that has previously been advertised for/to the given session as being available for use for that session.static SASLAuthentication.StatusSASLAuthentication.handle(LocalSession session, org.dom4j.Element doc, boolean usingSASL2) Handles the SASL authentication packet.voidAbstractConnection.init(LocalSession owner) voidAbstractConnection.reinit(LocalSession owner) static voidSASLAuthentication.setAdvertisedChannelBindingTypes(LocalSession session, Set<String> advertisedChannelBindingTypes) Records a set of channel binding types as having been advertised for/to the given session.static voidSASLAuthentication.setAdvertisedSASLMechanisms(LocalSession session, Set<String> advertisedMechanisms) Records a set of SASL mechanism names as having been advertised for/to the given session.voidStanzaHandler.setSession(LocalSession session) -
Uses of LocalSession in org.jivesoftware.openfire.nio
Methods in org.jivesoftware.openfire.nio that return types with arguments of type LocalSessionMethods in org.jivesoftware.openfire.nio with parameters of type LocalSession -
Uses of LocalSession in org.jivesoftware.openfire.sasl
Methods in org.jivesoftware.openfire.sasl with parameters of type LocalSessionModifier and TypeMethodDescriptionSaslMechanismEligibility.getAdvertisableChannelBindingTypes(LocalSession session, Set<String> advertisableSASLMechanisms) Returns the channel-binding types to advertise to the given session.SaslMechanismEligibility.getAdvertisableSASLMechanisms(LocalSession session) Returns a Set of SASL mechanism names are applicable to advertise to the given session.SaslMechanismEligibility.getAvailableMechanismsForSession(LocalSession session) Returns the set of SASL mechanisms available for the given session.Constructors in org.jivesoftware.openfire.sasl with parameters of type LocalSession -
Uses of LocalSession in org.jivesoftware.openfire.session
Subclasses of LocalSession in org.jivesoftware.openfire.sessionModifier and TypeClassDescriptionclassRepresents a session between the server and a client.classRepresents a session between the server and a component.classRepresents a session between the server and a connection manager.classServer-to-server communication is done using two TCP connections between the servers.classServer-to-server communication is done using two TCP connections between the servers.classMethods in org.jivesoftware.openfire.session with parameters of type LocalSessionModifier and TypeMethodDescriptionvoidLocalClientSession.reattach(LocalSession connectionProvider, long h) voidLocalComponentSession.reattach(LocalSession connectionProvider, long h) voidLocalConnectionMultiplexerSession.reattach(LocalSession connectionProvider, long h) voidLocalServerSession.reattach(LocalSession connectionProvider, long h) voidLocalSession.reattach(LocalSession connectionProvider, long h) Reattach the (existing) session to the connection provided by a new session (a session that will be replaced by the older, pre-existing session). -
Uses of LocalSession in org.jivesoftware.openfire.streammanagement
Constructors in org.jivesoftware.openfire.streammanagement with parameters of type LocalSession -
Uses of LocalSession in org.jivesoftware.openfire.websocket
Methods in org.jivesoftware.openfire.websocket with parameters of type LocalSession