You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ka...@apache.org on 2008/01/29 06:39:58 UTC
svn commit: r616174 -
/webservices/rampart/trunk/c/src/util/rampart_username_token.c
Author: kaushalye
Date: Mon Jan 28 21:39:58 2008
New Revision: 616174
URL: http://svn.apache.org/viewvc?rev=616174&view=rev
Log:
Allowing a context to be passed thru the authentication function
Modified:
webservices/rampart/trunk/c/src/util/rampart_username_token.c
Modified: webservices/rampart/trunk/c/src/util/rampart_username_token.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_username_token.c?rev=616174&r1=616173&r2=616174&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_username_token.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_username_token.c Mon Jan 28 21:39:58 2008
@@ -413,7 +413,7 @@
if(authenticate_with_digest)
{
auth_status = authenticate_with_digest(env,
- username, nonce, created, password);
+ username, nonce, created, password, NULL);
if(RAMPART_AUTHN_PROVIDER_GRANTED == auth_status)
{
AXIS2_LOG_INFO(env->log,
@@ -438,7 +438,7 @@
rampart_context_get_auth_password_function(rampart_context, env);
if(authenticate_with_password)
{
- auth_status = authenticate_with_password(env, username, password);
+ auth_status = authenticate_with_password(env, username, password, NULL);
if(RAMPART_AUTHN_PROVIDER_GRANTED == auth_status)
{
AXIS2_LOG_INFO(env->log, "[rampart][rampart_usernametoken] User authenticated");