auth_log.c | auth_log.c | |||
---|---|---|---|---|
/* ======================================================================== | ||||
* Copyright 1988-2006 University of Washington | ||||
* | ||||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||||
* you may not use this file except in compliance with the License. | ||||
* You may obtain a copy of the License at | ||||
* | ||||
* http://www.apache.org/licenses/LICENSE-2.0 | ||||
* | ||||
* | ||||
* ======================================================================== | ||||
*/ | ||||
/* | /* | |||
* Program: Login authenticator | * Program: Login authenticator | |||
* | * | |||
* Author: Mark Crispin | * Author: Mark Crispin | |||
* Networks and Distributed Computing | * Networks and Distributed Computing | |||
* Computing & Communications | * Computing & Communications | |||
* University of Washington | * University of Washington | |||
* Administration Building, AG-44 | * Administration Building, AG-44 | |||
* Seattle, WA 98195 | * Seattle, WA 98195 | |||
* Internet: MRC@CAC.Washington.EDU | * Internet: MRC@CAC.Washington.EDU | |||
* | * | |||
* Date: 5 December 1995 | * Date: 5 December 1995 | |||
* Last Edited: 30 May 2001 | * Last Edited: 30 August 2006 | |||
* | ||||
* The IMAP toolkit provided in this Distribution is | ||||
* Copyright 2001 University of Washington. | ||||
* The full text of our legal notices is contained in the file called | ||||
* CPYRIGHT, included with this Distribution. | ||||
*/ | */ | |||
long auth_login_client (authchallenge_t challenger,authrespond_t responder, | long auth_login_client (authchallenge_t challenger,authrespond_t responder, | |||
char *service,NETMBX *mb,void *stream, | char *service,NETMBX *mb,void *stream, | |||
unsigned long *trial,char *user); | unsigned long *trial,char *user); | |||
char *auth_login_server (authresponse_t responder,int argc,char *argv[]); | char *auth_login_server (authresponse_t responder,int argc,char *argv[]); | |||
AUTHENTICATOR auth_log = { | AUTHENTICATOR auth_log = { | |||
NIL, /* not secure */ | AU_HIDE, /* hidden */ | |||
"LOGIN", /* authenticator name */ | "LOGIN", /* authenticator name */ | |||
NIL, /* always valid */ | NIL, /* always valid */ | |||
auth_login_client, /* client method */ | auth_login_client, /* client method */ | |||
auth_login_server, /* server method */ | auth_login_server, /* server method */ | |||
NIL /* next authenticator */ | NIL /* next authenticator */ | |||
}; | }; | |||
#define PWD_USER "User Name" | #define PWD_USER "User Name" | |||
#define PWD_PWD "Password" | #define PWD_PWD "Password" | |||
/* Client authenticator | /* Client authenticator | |||
End of changes. 3 change blocks. | ||||
7 lines changed or deleted | 15 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |