]> eyrie.org Git - kerberos/webauth.git/commit
Give a validation remctl command its own timeout error
authorJon Robertson <jonrober@stanford.edu>
Mon, 22 Sep 2014 20:44:34 +0000 (13:44 -0700)
committerJon Robertson <jonrober@stanford.edu>
Mon, 22 Sep 2014 20:44:34 +0000 (13:44 -0700)
commit6eedb591ced2c82896b409bfc0203cec7f5cfb62
tree3b59501696e09e644ebeb18358b96e3a38938d48
parentec67c3f3b0b6bff2acfc7547804f9affc32efc5d
Give a validation remctl command its own timeout error

In order to set up out of band methods that will time out if the user
doesn't respond to the out of band prompt (such as a phone call), we
need to have a validation remctl call tell us specifically if it timed
out.  Currently it's just sent as a WK_ERR_UNRECOVERABLE_ERROR, which
makes it impossible to carve out special logic for a timeout.  This will
now be sent as its own error code.

Currently this is only true for validate and not for the userinfo
command.  If we later need to do special things for userinfo timeouts as
well, we'll build on this work.
docs/protocol.xml
include/webauth/basic.h
lib/errors.c
lib/userinfo-remctl.c
lib/userinfo.c
perl/lib/WebAuth.xs
perl/lib/WebKDC.pm
perl/lib/WebKDC/WebKDCException.pm
perl/lib/WebLogin.pm