Package

kafka.security

auth

Permalink

package auth

Visibility
  1. Public
  2. All

Type Members

  1. case class Acl(principal: KafkaPrincipal, permissionType: PermissionType, host: String, operation: Operation) extends Product with Serializable

    Permalink

    An instance of this class will represent an acl that can express following statement.

    An instance of this class will represent an acl that can express following statement.

    Principal P has permissionType PT on Operation O1 from hosts H1.
    

    principal

    A value of *:* indicates all users.

    host

    A value of * indicates all hosts.

    operation

    A value of ALL indicates all operations.

  2. trait Authorizer extends Configurable

    Permalink

    Top level interface that all plugable authorizer must implement.

    Top level interface that all plugable authorizer must implement. Kafka server will read "authorizer.class" config value at startup time, create an instance of the specified class and call initialize method. authorizer.class must be a class that implements this interface. If authorizer.class has no value specified no authorization will be performed.

    From that point onwards, every client request will first be routed to authorize method and the request will only be authorized if the method returns true.

  3. sealed trait Operation extends BaseEnum

    Permalink

    Different operations a client may perform on kafka resources.

  4. sealed trait PermissionType extends BaseEnum

    Permalink

    PermissionType.

  5. case class Resource(resourceType: ResourceType, name: String) extends Product with Serializable

    Permalink

    resourceType

    type of resource.

    name

    name of the resource, for topic this will be topic name , for group it will be group name. For cluster type it will be a constant string kafka-cluster.

  6. sealed trait ResourceType extends BaseEnum

    Permalink

    ResourceTypes.

  7. class SimpleAclAuthorizer extends Authorizer with Logging

    Permalink

Value Members

  1. object Acl extends Serializable

    Permalink
  2. object All extends Operation with Product with Serializable

    Permalink
  3. object Allow extends PermissionType with Product with Serializable

    Permalink
  4. object Alter extends Operation with Product with Serializable

    Permalink
  5. object Cluster extends ResourceType with Product with Serializable

    Permalink
  6. object ClusterAction extends Operation with Product with Serializable

    Permalink
  7. object Create extends Operation with Product with Serializable

    Permalink
  8. object Delete extends Operation with Product with Serializable

    Permalink
  9. object Deny extends PermissionType with Product with Serializable

    Permalink
  10. object Describe extends Operation with Product with Serializable

    Permalink
  11. object Group extends ResourceType with Product with Serializable

    Permalink
  12. object Operation extends Serializable

    Permalink
  13. object PermissionType extends Serializable

    Permalink
  14. object Read extends Operation with Product with Serializable

    Permalink
  15. object Resource extends Serializable

    Permalink
  16. object ResourceType extends Serializable

    Permalink
  17. object SimpleAclAuthorizer

    Permalink
  18. object Topic extends ResourceType with Product with Serializable

    Permalink
  19. object Write extends Operation with Product with Serializable

    Permalink

Ungrouped