Class MultiTenantSaslConfigEntry
java.lang.Object
io.confluent.kafka.server.plugins.auth.MultiTenantSaslConfigEntry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this API key is a Universal API Key (org-scoped).keyScope()booleanvoidunknownField(String name, Object value) userId()withLogicalClusterId(String resolvedLogicalClusterId) Create a copy of this entry with a different logical cluster ID.
-
Constructor Details
-
MultiTenantSaslConfigEntry
-
-
Method Details
-
saslMechanism
-
hashedSecret
-
hashFunction
-
userId
-
logicalClusterId
-
serviceAccount
public boolean serviceAccount() -
userResourceId
-
orgResourceId
-
keyScope
-
isUniversalApiKey
public boolean isUniversalApiKey()Check if this API key is a Universal API Key (org-scoped). Universal API Keys have keyScope set to "global" (case-insensitive).- Returns:
- true if this is a Universal API Key, false otherwise
-
withLogicalClusterId
Create a copy of this entry with a different logical cluster ID. Used for UAKs where the LKC is resolved at authentication time from SNI or broker metadata.- Parameters:
resolvedLogicalClusterId- the resolved logical cluster ID- Returns:
- a new MultiTenantSaslConfigEntry with the resolved LKC
-
unknownField
-