auth_plugin_ntlm.c File Reference


Detailed Description

Plugin for delayed authentication.

This authentication plugin provides authentication operation that is intentionally delayed. It serves as an example of server-side authentication plugins.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>.
Date:
Created: Wed Apr 11 15:14:03 2001 ppessi

#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <sofia-sip/su_debug.h>
#include <sofia-sip/su_wait.h>
#include <sofia-sip/su_alloc.h>
#include <sofia-sip/su_tagarg.h>
#include "sofia-sip/auth_module.h"
#include "sofia-sip/auth_plugin.h"
#include "sofia-sip/auth_ntlm.h"

Include dependency graph for auth_plugin_ntlm.c:


Functions

void auth_method_ntlm (auth_mod_t *am, auth_status_t *as, msg_auth_t *au, auth_challenger_t const *ach)
 Authenticate a request with Ntlm authentication scheme.
msg_auth_t * auth_ntlm_credentials (msg_auth_t *auth, char const *realm, char const *opaque, char const *gssapidata, char const *targetname)
 NTLM scheme.
void auth_check_ntlm (auth_mod_t *am, auth_status_t *as, auth_response_t *ar, auth_challenger_t const *ach)
 Check ntlm authentication.
void auth_challenge_ntlm (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach)
 Construct a challenge header for Ntlm authentication scheme.
void auth_info_ntlm (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach)
 Construct a info header for Ntlm authentication scheme.

Function Documentation

void auth_challenge_ntlm ( auth_mod_t am,
auth_status_t as,
auth_challenger_t const *  ach 
)

Construct a challenge header for Ntlm authentication scheme.

void auth_info_ntlm ( auth_mod_t am,
auth_status_t as,
auth_challenger_t const *  ach 
)

Construct a info header for Ntlm authentication scheme.

msg_auth_t* auth_ntlm_credentials ( msg_auth_t *  auth,
char const *  realm,
char const *  opaque,
char const *  gssapidata,
char const *  targetname 
)

NTLM scheme.


Sofia-SIP 1.12.6 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.