Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetKerberosAuth ¶ added in v2.5.19
func SetKerberosAuth(input KerberosAuthInterface)
SetKerberosAuth Set Kerberos5 Authentication interface used for kerberos authentication
Types ¶
type AdvNego ¶
type AdvNego struct {
// contains filtered or unexported fields
}
func NewAdvNego ¶
func NewAdvNego(session *network.Session, tracer trace.Tracer, config *configurations.ConnectionConfig) (*AdvNego, error)
func (*AdvNego) StartServices ¶ added in v2.1.21
type AdvNegoService ¶
type AdvNegoService interface {
// contains filtered or unexported methods
}
type AdvancedNegoComm ¶ added in v2.1.21
type AdvancedNegoComm struct {
// contains filtered or unexported fields
}
type KerberosAuthInterface ¶ added in v2.5.19
type NTSAuthDefault ¶ added in v2.3.3
type NTSAuthDefault struct{}
func (*NTSAuthDefault) NewNegotiateMessage ¶ added in v2.3.3
func (nts *NTSAuthDefault) NewNegotiateMessage(domain, machine string) ([]byte, error)
func (*NTSAuthDefault) ProcessChallenge ¶ added in v2.3.3
func (nts *NTSAuthDefault) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)
type NTSAuthHash ¶ added in v2.3.5
type NTSAuthHash struct {
NTSAuthDefault
}
func (*NTSAuthHash) ProcessChallenge ¶ added in v2.3.5
func (nts *NTSAuthHash) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)
type NTSAuthInterface ¶ added in v2.3.3
type NTSAuthInterface interface { NewNegotiateMessage(domain, machine string) ([]byte, error) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error) }
var NTSAuth NTSAuthInterface = &NTSAuthDefault{}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.