PAC Decoding Improvements and General Refactoring
service.SPNEGOKRB5Authenticate now takes a service.Config argument
Adopts goidentity.v3 interface for credentials added to the http request context on the service side. This interface supports arbitrary attributes. Code that extracts the credential from the context and performs type assertion to a Credentials type will need to be updated to assert to an goidentity.Identity type.
NDR decoding now uses gopkg.in/jcmturner/rpc.v1 The following packages have been removed:
gopkg.in/jcmturner/gokrb5.v5/mstypes
gopkg.in/jcmturner/gokrb5.v5/ndr
Review of exported functions, methods and fields. The following have been made private:
- client.SendToKDC
- client.GetSessionFromPrincipalName
- client.GetSessionFromRealm
- client’s Cache field
- client.sessions - all fields
- service.Cache’s Entries field
- service.clientEntries - all fields
- service.replayCacheEntry - all fields
config.LibDefaults field is now a value not a pointer