• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rohanpm / kobo / 22
50%
master: 49%

Build:
Build:
LAST BUILD BRANCH: remove-auto-logout
DEFAULT BRANCH: master
Ran 23 Apr 2020 04:44AM UTC
Jobs 1
Files 108
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
22

push

travis-ci

rohanpm
Refactor gssapi login method to reuse krb5login endpoint

For gssapi auth, there is no need to add a new XML-RPC method
on the hub and step through the gssapi process on both client
and server sides ourselves.  Let's just authenticate with the
existing krb5login endpoint instead.

The advantages of doing it this way include:

- As no hub changes are needed at all, it already works on any
  hub deployed today, i.e. clients can upgrade to Python3/gssapi
  without blocking on the hub upgrading first.

- Avoids reimplementing client side of gssapi process, instead
  reusing it from requests_gssapi.
  (some code is still needed for configuration however.)

- Avoids reimplementing server side of gssapi process, instead
  reusing it from httpd or whichever server is placed in front
  of the hub.

- When login_krbv is dropped, it will mean there's only one place
  where kerberos auth needs to be configured on the hub, rather than
  two which currently need to be kept in sync with each other
  (hub settings and httpd settings).

- Since the auth is no longer tunneled inside of XML-RPC, authentication
  requests from kobo clients will now appear in httpd logs.

3030 of 6085 relevant lines covered (49.79%)

0.5 hits per line

Jobs
ID Job ID Ran Files Coverage
7 22.7 (TOXENV=py37-cov-travis) 23 Apr 2020 04:44AM UTC 0
49.79
Travis Job 22.7
Source Files on build 22
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #22
  • 0bef529d on github
  • Prev Build on refactored-gssapi (#21)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc