Package io.strimzi.api.kafka.model
Class KafkaAuthorizationOpa
- java.lang.Object
-
- io.strimzi.api.kafka.model.KafkaAuthorization
-
- io.strimzi.api.kafka.model.KafkaAuthorizationOpa
-
- All Implemented Interfaces:
UnknownPropertyPreserving,Serializable
public class KafkaAuthorizationOpa extends KafkaAuthorization
Configures the broker authorization to use Open Policy Agent as an authorization and policy server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTHORIZER_CLASS_NAMEstatic StringTYPE_OPA
-
Constructor Summary
Constructors Constructor Description KafkaAuthorizationOpa()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExpireAfterMs()intgetInitialCacheCapacity()intgetMaximumCacheSize()List<String>getSuperUsers()StringgetType()StringgetUrl()booleanisAllowOnError()voidsetAllowOnError(boolean allowOnError)voidsetExpireAfterMs(long expireAfterMs)voidsetInitialCacheCapacity(int initialCacheCapacity)voidsetMaximumCacheSize(int maximumCacheSize)voidsetSuperUsers(List<String> superUsers)voidsetUrl(String url)-
Methods inherited from class io.strimzi.api.kafka.model.KafkaAuthorization
getAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
TYPE_OPA
public static final String TYPE_OPA
- See Also:
- Constant Field Values
-
AUTHORIZER_CLASS_NAME
public static final String AUTHORIZER_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein classKafkaAuthorization
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
isAllowOnError
public boolean isAllowOnError()
-
setAllowOnError
public void setAllowOnError(boolean allowOnError)
-
getInitialCacheCapacity
public int getInitialCacheCapacity()
-
setInitialCacheCapacity
public void setInitialCacheCapacity(int initialCacheCapacity)
-
getMaximumCacheSize
public int getMaximumCacheSize()
-
setMaximumCacheSize
public void setMaximumCacheSize(int maximumCacheSize)
-
getExpireAfterMs
public long getExpireAfterMs()
-
setExpireAfterMs
public void setExpireAfterMs(long expireAfterMs)
-
-