Package org.jivesoftware.openfire.fast
Class FastSessionState
java.lang.Object
org.jivesoftware.openfire.fast.FastSessionState
Typed access to FAST state that exists only for one SASL2 authentication attempt.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearAuthenticationAttempt(LocalSession session) Clears all state after an authentication attempt has completed.static voidclearRequest(LocalSession session) Clears input state before parsing a new authentication request.static StringgetAuthenticatedClientId(LocalSession session) static StringgetClientId(LocalSession session) static StringgetExpectedUsername(LocalSession session) static LonggetReplayCount(LocalSession session) static StringgetRequestedMechanism(LocalSession session) static FastTokengetRotatedToken(LocalSession session) static booleanisInvalidateRequested(LocalSession session) static voidsetAuthenticatedClientId(LocalSession session, String clientId) static voidsetClientId(LocalSession session, String clientId) static voidsetExpectedUsername(LocalSession session, String expectedUsername) static voidsetInvalidate(LocalSession session) static voidsetReplayCount(LocalSession session, long count) static voidsetRequestedMechanism(LocalSession session, String mechanism) static voidsetRotatedToken(LocalSession session, FastToken token)
-
Method Details
-
setRequestedMechanism
-
getRequestedMechanism
-
setInvalidate
-
isInvalidateRequested
-
setReplayCount
-
getReplayCount
-
setExpectedUsername
public static void setExpectedUsername(@Nonnull LocalSession session, @Nonnull String expectedUsername) -
getExpectedUsername
-
setClientId
-
getClientId
-
setAuthenticatedClientId
public static void setAuthenticatedClientId(@Nonnull LocalSession session, @Nonnull String clientId) -
getAuthenticatedClientId
-
setRotatedToken
-
getRotatedToken
-
clearRequest
Clears input state before parsing a new authentication request. -
clearAuthenticationAttempt
Clears all state after an authentication attempt has completed.
-