/[resiprocate]/main/resip/dum/UserProfile.cxx
ViewVC logotype

Log of /main/resip/dum/UserProfile.cxx

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 9891 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 25 18:46:33 2012 UTC (7 years ago) by sgodin
File length: 6835 byte(s)
Diff to previous 9160
 -added new UserProfile setting to DUM:  
  DigestCacheUseLimit is used to indicate the maximum number of times a particular 
  Proxy or WWW Authorization header will be used in requests within a dialogset.  
  When this limit is   reached then the next request in the DiaglogSet will go out 
  without digest credentials.  This setting can be used to work around bugs/limitations 
  in third-party implementations that have difficulty properly dealing with
  cached credentials.  A setting of 0 (default) will disable the limit and all requests 
  in a Dialogset will have the same cached Authorization header on them, until they are 
  re-challenged by the far end.  A setting of 1 disables caching entirely and future 
  requests within the dialog set will go out without any authorization headers.

Other Changes
 -resip ClientAuthManager - refactored dialogSetDestroyed and clearAuthenticationState to 
  be more logical
 -resip ClientPagerMessage - modified to allow onSuccess and onFailure callbacks even if queue
  of message contents is not used - allows you to call ClientPagerMessage::getMessageRequest,
  build the request yourself (even one without a body), send using DUM::send and still have 
  your callbacks invoked

Revision 9160 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 17 15:29:19 2011 UTC (8 years, 6 months ago) by bcampen
File length: 6779 byte(s)
Diff to previous 9051
Another crack at fixing thread-safety issues with UserProfile::mAnonymous.
This should do the trick.


Revision 9051 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 8 02:08:09 2011 UTC (8 years, 8 months ago) by danweber
File length: 6755 byte(s)
Diff to previous 9038
made mAnonymous static like it should be so copy constructor can work.

Revision 9038 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 20:22:45 2011 UTC (8 years, 8 months ago) by sgodin
File length: 6788 byte(s)
Diff to previous 9033
-allow a DUM application to optionally provide a MD5 A1 Hash of a users password, instead 
 of the clear text version
  Note:  If the A1 hash is provided then the realm provided MUST match the realm in the 
         challenge or authentication will fail.  If the plain text password is provided, 
         then we will form the A1 hash using the realm from the challenge.


Revision 9033 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 27 17:17:15 2011 UTC (8 years, 8 months ago) by sgodin
File length: 6646 byte(s)
Diff to previous 8871
-merge work from b-client-outbound-20110213 - client outbound support (RFC 5626)
   - New UserProfile settings
      - clientOutboundEnabled
      - setRegId
   - UserProfile now tracks flow used at registration time if server indicates outbound support, and 
     all usages that are assigned the same UserProfile will use this flow
   - ;ob parameter is added to contact headers of non-REGISTER requests if clientOutboundEnabled
   - ;reg-id parameter is added to contact headers of REGISTER requests if configured
   - ;+sip.instance is added to all contact headers if configured
   - ClientRegistration tagContact is now static and is used in RegistrationCreator for consistency
   - Keep alive pong responses are now routed from Stack to DUM Keepalive Manager
   - DUM Keep alive manager will terminate flows if a pong response is not received from 
     an outbound enabled connection after a default of 10 seconds
   -removed a bunch of non-implemented methods from DialogUsageManager.hxx
   -optimized some accesses to user profile from usages
   -added new makeInviteSession calls that accept an InviteSessionHandle and add an appropriate replaces header
   -treat internal 503 errors the same as 408 errors when dispatching onRequestRetry callback for
    ClientRegistration, ClientSubscription and ClientPublication
      - allows retry logic that is consistent when using both UDP or TCP/TLS transports
      - note:  TCP/TLS transports get a 503 error when they cannot connect, UDP transports typically
               get a 408 error when the far end is not present
   -ClientRegistration changes to ensure calling requestRefresh will not assert in any state
      - allow calling requestRefresh while a retry timer is running to request an immediate retry 
   -created onFlowTerminated callbacks on:
      - ClientRegistrationHandler - default implementation is to retry registration immediately
      - InviteSessionHandler - current default implementation is to do nothing
      - ServerSubscriptionHandler - default implementation is to end the Subscription
      - ClientSubscriptionHandler - default implementation is to reSubscribe (new Dialog)
   -fix for ContactInstanceRecord equality checks - registration server was not treating contacts with the same
    instance id as equal if the contact URI was different

Revision 8871 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 27 15:37:49 2010 UTC (8 years, 11 months ago) by sgodin
File length: 6717 byte(s)
Diff to previous 8803
-fixed potential multi-threading issues with static member variable initialization
-expose resip local logger id to applications


Revision 8803 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 8 13:52:28 2010 UTC (9 years, 2 months ago) by sgodin
File length: 6678 byte(s)
Diff to previous 8161
-fixed a multi-threading issue with the static anonymous variable
 - the isAnonymous method calls anonymous.uri().getAor() which is tagged as a const fn and 
   appears as though it should be thread safe.  However getAor modifies some volatile Uri class
   members and there can be issues if 2 threads call isAnonymous on 2 different UserProfiles 
   at the same time.  This change allows simultaneous calls to isAnonymous on 2 different UserProfiles
   from multiple threads, at the same time.
 - thanks to Vasanthi Ramasamy for tracking this down

Revision 8161 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 25 20:54:42 2008 UTC (11 years, 3 months ago) by jmatthewsr
File length: 6615 byte(s)
Diff to previous 8122
Stream performance enhancements for encoding objects.  New encoding code should use 'EncodeStream','resipCerr' and 'resipCout' for encoding any resip objects.  Merge from b-jmatthewsr-streamperf2 -r 8137:8160.  

Revision 8122 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 3 21:40:52 2008 UTC (11 years, 4 months ago) by bcampen
File length: 6615 byte(s)
Diff to previous 6075
Merge work from b-resip-gruu.


Revision 6075 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 14 02:59:12 2006 UTC (13 years, 8 months ago) by jason
File length: 6554 byte(s)
Diff to previous 5948
added support for privacy as per rfc3325


Revision 5948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 15:30:16 2006 UTC (13 years, 9 months ago) by dworley
File length: 6110 byte(s)
Diff to previous 5929
Setting more svn: properties, and adding EOLs to the ends of files
that need it.


Revision 5929 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 16 22:36:43 2006 UTC (13 years, 9 months ago) by dworley
File length: 6110 byte(s)
Diff to previous 5845
Start cleaning up svn:eol-style and EOLs in files.
Note that text and program files that can be used on both Un*x and Windows
should have svn:eol-style=native so they check out correctly on both
platforms.


Revision 5845 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 1 05:44:15 2006 UTC (13 years, 9 months ago) by derek
File length: 6110 byte(s)
Diff to previous 5295
added service-route support

Revision 5295 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 00:30:05 2005 UTC (14 years, 3 months ago) by jason
File length: 5946 byte(s)
Copied from: branches/b-directory-reorg/resip/dum/UserProfile.cxx revision 5294
Diff to previous 5283
merged 5270:HEAD from b-directory-reorg

Revision 5283 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 01:27:14 2005 UTC (14 years, 3 months ago) by derek
Original Path: branches/b-directory-reorg/resip/dum/UserProfile.cxx
File length: 5946 byte(s)
Diff to previous 5276
finished resip/sip -> resip/stack rename

Revision 5276 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 00:23:17 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/UserProfile.cxx
File length: 5944 byte(s)
Diff to previous 5273
compiles now

Revision 5273 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:50:54 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/dum/UserProfile.cxx
File length: 5985 byte(s)
Diff to previous 5272
initial reorg - more to come

Revision 5272 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:49:50 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/resip/resiprocate/dum/UserProfile.cxx
File length: 5985 byte(s)
Diff to previous 5271
initial reorg - more to come

Revision 5271 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 23:43:07 2005 UTC (14 years, 3 months ago) by jason
Original Path: branches/b-directory-reorg/sip/resiprocate/dum/UserProfile.cxx
File length: 5985 byte(s)
Diff to previous 4778
new directory reorg proposal

Revision 4778 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 30 16:27:25 2005 UTC (14 years, 5 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5985 byte(s)
Diff to previous 4599
use SharedPtr to manage Master/UserProfile lifetime

Revision 4599 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 11 23:10:19 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5674 byte(s)
Diff to previous 4515
set svn:eol-style to LF

Revision 4515 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 5 19:13:35 2005 UTC (14 years, 6 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5674 byte(s)
Diff to previous 4514
fixed compilation issue from last comit

Revision 4514 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 5 18:54:07 2005 UTC (14 years, 6 months ago) by derek
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5686 byte(s)
Diff to previous 4382
store password in mem. rather than a1 as realm is not always known ahead of time.

Revision 4382 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 17 20:49:33 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5652 byte(s)
Diff to previous 4335
log mods





Revision 4335 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 12 21:40:15 2005 UTC (14 years, 7 months ago) by jason
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5688 byte(s)
Diff to previous 4112
merged changes from b-dev-repro from rev 4155:4334
used cmd: svn merge -r 4155:4334 https://scm.sipfoundry.org/rep/ resiprocate/branches/b-dev-repro-20050401


Revision 4112 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 1 17:55:30 2005 UTC (14 years, 7 months ago) by sgodin
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 7443 byte(s)
Diff to previous 4062
Modified DigestCredential Matching to be:
1.  Look for any credential whose AOR matches the From field and with a matching realm. 
2.  Look for any credential whose user matches the User in the From field and with a matching realm. 
3.  Look for any credential with a matching realm.  (required before 4 - since there could be the same AOR in 2 different realms???) 
4.  Look for any credential whose AOR matches the From field. 
5.  Look for any credential whose user matches the User in the From field. 
6.  Any Digest Credential 


Revision 4062 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 27 02:00:20 2005 UTC (14 years, 7 months ago) by derek
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5933 byte(s)
Diff to previous 4010
pluggable keep-alive manager; provided implementation sends a keep-alive every 20 seconds
Security::preload now run in SipStack's constructor, if a sec. object is provided
eol convenction & #define fixes

Revision 4010 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 19 03:54:17 2005 UTC (14 years, 8 months ago) by jason
Original Path: main/sip/resiprocate/dum/UserProfile.cxx
File length: 5982 byte(s)
Copied from: branches/b-teltel-20041118-invitesession/UserProfile.cxx revision 4009
Diff to previous 3930
merged changes from b-teltel-20041118-invitesession 3484:HEAD into the trunk



Revision 3930 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 2 21:07:36 2005 UTC (14 years, 8 months ago) by sgodin
Original Path: branches/b-teltel-20041118-invitesession/UserProfile.cxx
File length: 5982 byte(s)
Diff to previous 3840
added missing vovida license blocks

Revision 3840 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 1 21:01:50 2005 UTC (14 years, 9 months ago) by sgodin
Original Path: branches/b-teltel-20041118-invitesession/UserProfile.cxx
File length: 3559 byte(s)
Diff to previous 3763
allow DigestCredentials to be cleared

Revision 3763 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 16 06:58:57 2004 UTC (14 years, 11 months ago) by jason
Original Path: branches/b-teltel-20041118-invitesession/UserProfile.cxx
File length: 3479 byte(s)
Diff to previous 3655
store instanceId in Profile and set it in Contact if not empty


Revision 3655 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 29 20:21:00 2004 UTC (14 years, 11 months ago) by sgodin
Original Path: branches/b-teltel-20041118-invitesession/UserProfile.cxx
File length: 3330 byte(s)
Diff to previous 3624
add includes

Revision 3624 - (view) (download) (annotate) - [select for diffs]
Added Wed Nov 24 22:06:35 2004 UTC (14 years, 11 months ago) by sgodin
Original Path: branches/b-teltel-20041118-invitesession/UserProfile.cxx
File length: 3291 byte(s)
multi-profile changes - new files

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27