= Description The rack-kerberos library is a Rack library that uses Kerberos to authenicate users against your Kerberos server. = Prerequisites * rack 1.0.0 or later * rkerberos 0.1.0 or later = Usage use "Rack::Auth::Kerberos", "user_field", "password_field", "YOUR.REALM_NAME" = Default Fields The default user field is "username". The default password field is "password". The default realm is whatever you've got set in your krb5.conf file. = Details This rack library only handles requests that contain a username and password parameter. If both are not present, the request is forwarded normally. If a username and password are detected, then they're authenicated against your Kerberos server. If valid, then env['AUTH_USER'] is set to the username and env['AUTH_FAIL'] is deleted. If invalid, then env['AUTH_USER'] is deleted and env['AUTH_FAIL'] is set to an error message explaining what went wrong. Note that if env['AUTH_USER'] or env['AUTH_FAIL'] are already set, then the request is forwarded normally. Some details are logged in env['AUTH_LOG'], primarily for debugging purposes, if needed. = TODO Handle other types of authentication, e.g. HTTP basic auth with a username and password are submitted, instead of only looking in request params. = Authors Daniel Berger Charlie O'Keefe Marty Haught
Project
rack-auth-kerberos
The rack-kerberos library provides a Rack middleware interface for
authenticating users against a Kerberos server.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Runtime
djberg96-krb5-auth
>= 0.8.5
>= 1.0.0
Project Readme