gssapi

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// https://tools.ietf.org/html/rfc4121#section-4.1
	TOK_ID_KRB_AP_REQ = "\x01\x00"
)

Variables

This section is empty.

Functions

func Gokrb5v8

func Gokrb5v8(client *client.Client, kafkaServiceName string) sasl.Mechanism

Gokrb5v8 uses gokrb5/v8 to implement the GSSAPI mechanism.

client is a github.com/gokrb5/v8/client *Client instance. kafkaServiceName is the name of the Kafka service in your Kerberos.

Types

type StartWithoutHostError

type StartWithoutHostError struct{}

StartWithoutHostError is the error type for when Start is called on the GSSAPI mechanism without the host having been set by WithHost.

Unless you are calling the GSSAPI SASL mechanim's Start method yourself for some reason, this error will never be returned.

func (StartWithoutHostError) Error

func (e StartWithoutHostError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL