Implement GSSAPI login
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
06f8d24967
commit
480cdfb540
4 changed files with 64 additions and 13 deletions
2
cli/koji
2
cli/koji
|
|
@ -6968,6 +6968,8 @@ def handle_moshimoshi(options, session, args):
|
|||
authtype = u.get('authtype', getattr(session, 'authtype', None))
|
||||
if authtype == koji.AUTHTYPE_NORMAL:
|
||||
print "Authenticated via password"
|
||||
elif authtype == koji.AUTHTYPE_GSSAPI:
|
||||
print "Authenticated via GSSAPI"
|
||||
elif authtype == koji.AUTHTYPE_KERB:
|
||||
print "Authenticated via Kerberos principal %s" % u["krb_principal"]
|
||||
elif authtype == koji.AUTHTYPE_SSL:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue