Class ScramSessionCache.Entry

  • Enclosing class:
    ScramSessionCache

    public static class ScramSessionCache.Entry
    extends Object
    Cached session entry for reauthentication. SECURITY: No SaltedPassword stored — only derived keys.
    • Field Detail

      • realmName

        @Nullable
        public final @Nullable String realmName
      • salt

        public final byte[] salt
      • iterationCount

        public final int iterationCount
      • clientKey

        public final byte[] clientKey
      • storedKey

        public final byte[] storedKey
      • serverKey

        public final byte[] serverKey
      • sr

        @Nullable
        public volatile @Nullable String sr
      • ttl

        public volatile int ttl
      • srTimestampNanos

        public volatile long srTimestampNanos
      • originalServerFirstMessage

        public final String originalServerFirstMessage
    • Constructor Detail

      • Entry

        public Entry​(@Nullable
                     @Nullable String realmName,
                     byte[] salt,
                     int iterationCount,
                     byte[] clientKey,
                     byte[] storedKey,
                     byte[] serverKey,
                     @Nullable
                     @Nullable String sr,
                     int ttl,
                     long srTimestampNanos,
                     int initialNonceCount,
                     String originalServerFirstMessage)