Enum ScopesSpec.AuthzScope
java.lang.Object
java.lang.Enum<ScopesSpec.AuthzScope>
io.strimzi.kafka.oauth.server.authorizer.ScopesSpec.AuthzScope
- All Implemented Interfaces:
Serializable,Comparable<ScopesSpec.AuthzScope>
- Enclosing class:
- ScopesSpec
Keycloak Authorization Services scope. It aligns with all the possible authorization actions that Kafka understands
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionALTERALTER_CONFIGS or ALTERCONFIGSCLUSTER_ACTION or CLUSTERACTIONCREATEDELETEDESCRIBEDESCRIBE_CONFIGS or DESCRIBECONFIGSIDEMPOTENT_WRITE or IDEMPOTENTWRITEREADWRITE -
Method Summary
Modifier and TypeMethodDescriptionstatic ScopesSpec.AuthzScopeGet a AuthzScope enum value corresponding to the passed grantstatic ScopesSpec.AuthzScopeReturns the enum constant of this type with the specified name.static ScopesSpec.AuthzScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATE
CREATE -
READ
READ -
WRITE
WRITE -
DELETE
DELETE -
ALTER
ALTER -
DESCRIBE
DESCRIBE -
ALTER_CONFIGS
ALTER_CONFIGS or ALTERCONFIGS -
DESCRIBE_CONFIGS
DESCRIBE_CONFIGS or DESCRIBECONFIGS -
CLUSTER_ACTION
CLUSTER_ACTION or CLUSTERACTION -
IDEMPOTENT_WRITE
IDEMPOTENT_WRITE or IDEMPOTENTWRITE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
of
Get a AuthzScope enum value corresponding to the passed grant- Parameters:
grantValue- Grant as a string- Returns:
- AuthzScope enum value
-