Class FastTokenManager.Ht2ValidationResult

java.lang.Object
org.jivesoftware.openfire.fast.FastTokenManager.Ht2ValidationResult
Enclosing class:
FastTokenManager

public static final class FastTokenManager.Ht2ValidationResult extends Object
Result of a successful HT2 token validation, carrying both the rotated token and the responder HMAC that must be sent to the client for mutual authentication.
  • Constructor Details

    • Ht2ValidationResult

      public Ht2ValidationResult(FastToken rotatedToken, @Nonnull byte[] responderHashedToken)
    • Ht2ValidationResult

      public Ht2ValidationResult(FastToken rotatedToken, @Nonnull byte[] responderHashedToken, String clientId)
  • Method Details

    • expired

      public static FastTokenManager.Ht2ValidationResult expired()
    • isExpired

      public boolean isExpired()
    • getRotatedToken

      public FastToken getRotatedToken()
      Returns the newly rotated FAST token.
    • getResponderHashedToken

      @Nonnull public byte[] getResponderHashedToken()
      Returns a copy of the responder-hashed-token to be included in the server success message.
    • getClientId

      public String getClientId()