Class JwtIssuerKey

java.lang.Object
io.confluent.security.auth.store.data.AuthKey
io.confluent.security.auth.store.data.JwtIssuerKey

public class JwtIssuerKey extends AuthKey
  • Constructor Details

    • JwtIssuerKey

      public JwtIssuerKey(String issuer, String providerId, String jwksEndpoint)
    • JwtIssuerKey

      public JwtIssuerKey(String issuer)
  • Method Details

    • issuer

      public String issuer()
    • providerId

      public String providerId()
    • jwksEndpoint

      public String jwksEndpoint()
    • entryType

      public AuthEntryType entryType()
      Specified by:
      entryType in class AuthKey
    • cacheKey

      public String cacheKey(JwtIssuerKey.Version version)
    • cacheKeyV1

      public static String cacheKeyV1(String providerId, String issuer)
      Util method for use by outside modules.
      Parameters:
      providerId -
      issuer -
      Returns:
    • cacheKeyV2

      public static String cacheKeyV2(String issuer, String jwksEndpoint)
      Util method for use by outside modules.
      Parameters:
      issuer -
      jwksEndpoint -
      Returns:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AuthKey
    • hashCode

      public int hashCode()
      Description copied from class: AuthKey
      Using entryType().name() to compute hashCode, so that hashCode() is constant across executions.
      Overrides:
      hashCode in class AuthKey
    • toString

      public String toString()
      Overrides:
      toString in class Object