Documentation ¶
Index ¶
- func NewAuthService(comm *AdvancedNegoComm) (*authService, error)
- func NewDataIntegrityService(comm *AdvancedNegoComm) (*dataIntegrityService, error)
- func NewEncryptService(comm *AdvancedNegoComm) (*encryptService, error)
- func NewSupervisorService(comm *AdvancedNegoComm) (*supervisorService, error)
- func SetKerberosAuth(input KerberosAuthInterface)
- type AdvNego
- type AdvNegoService
- type AdvancedNegoComm
- type KerberosAuthInterface
- type NTSAuthDefault
- type NTSAuthHash
- type NTSAuthInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthService ¶
func NewAuthService(comm *AdvancedNegoComm) (*authService, error)
func NewDataIntegrityService ¶
func NewDataIntegrityService(comm *AdvancedNegoComm) (*dataIntegrityService, error)
func NewEncryptService ¶
func NewEncryptService(comm *AdvancedNegoComm) (*encryptService, error)
func NewSupervisorService ¶
func NewSupervisorService(comm *AdvancedNegoComm) (*supervisorService, error)
func SetKerberosAuth ¶
func SetKerberosAuth(input KerberosAuthInterface)
Set Kerberos5 Authentication inferface used for kerberos authentication
Types ¶
type AdvNego ¶
type AdvNego struct {
// contains filtered or unexported fields
}
func (*AdvNego) StartServices ¶
type AdvNegoService ¶
type AdvNegoService interface {
// contains filtered or unexported methods
}
type AdvancedNegoComm ¶
type AdvancedNegoComm struct {
// contains filtered or unexported fields
}
type KerberosAuthInterface ¶
type NTSAuthDefault ¶
type NTSAuthDefault struct{}
func (*NTSAuthDefault) NewNegotiateMessage ¶
func (nts *NTSAuthDefault) NewNegotiateMessage(domain, machine string) ([]byte, error)
func (*NTSAuthDefault) ProcessChallenge ¶
func (nts *NTSAuthDefault) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)
type NTSAuthHash ¶
type NTSAuthHash struct {
NTSAuthDefault
}
func (*NTSAuthHash) ProcessChallenge ¶
func (nts *NTSAuthHash) ProcessChallenge(chaMsgData []byte, user, password string) ([]byte, error)
type NTSAuthInterface ¶
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.