PR#1992: deprecation of krb_login
Merges #1992 https://pagure.io/koji/pull-request/1992 Fixes: #1906 https://pagure.io/koji/issue/1906 Deprecate/drop non-gssapi code
This commit is contained in:
commit
98a86c87be
1 changed files with 1 additions and 0 deletions
|
|
@ -2305,6 +2305,7 @@ class ClientSession(object):
|
|||
the server side. ctx is the Kerberos context to use, and should be unique
|
||||
per thread. If ctx is not specified, the default context is used."""
|
||||
|
||||
util.deprecated("Please use gssapi_login instead, krb_login will be removed in koji 1.22")
|
||||
try:
|
||||
# Silently try GSSAPI first
|
||||
if self.gssapi_login(principal, keytab, ccache, proxyuser=proxyuser):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue