SPNEGO/Kerberos

The Simple and Protected GSSAPI Negotiation Mechanism - SPNEGO - is a GSSAPI mechanism you use to secure messages when a client application wants to authenticate to a remote server, but does not know what authentication protocol to use.