Don Newton | 379ae25 | 2019-04-01 12:17:06 -0400 | [diff] [blame^] | 1 | // Copyright (C) MongoDB, Inc. 2017-present. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 4 | // not use this file except in compliance with the License. You may obtain |
| 5 | // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | |
| 7 | //+build !gssapi |
| 8 | |
| 9 | package auth |
| 10 | |
| 11 | // GSSAPI is the mechanism name for GSSAPI. |
| 12 | const GSSAPI = "GSSAPI" |
| 13 | |
| 14 | func newGSSAPIAuthenticator(cred *Cred) (Authenticator, error) { |
| 15 | return nil, newAuthError("GSSAPI support not enabled during build (-tags gssapi)", nil) |
| 16 | } |