23 Commits

Author SHA1 Message Date
jonas%sicking.cc
fc747a50f2 Bug 413161: Make nsIPrincipal::Origin ignore changes to document.domain. r/sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@248160 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 00:27:57 +00:00
bzbarsky%mit.edu
643799fa05 Somewhat reduce the amount of memory an nsPrincipal allocates in the common
case.  Bug 397733, r+sr+a=jst


git-svn-id: svn://10.0.0.236/trunk@236840 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 14:31:04 +00:00
bzbarsky%mit.edu
884df8f821 Make the nsISerializable implementation of nsPrincipal actually work. This
makes it possible to save principal objects to a stream and read them back.
Bug 369566, r=dveditz+brendan, sr=jst, a=jst


git-svn-id: svn://10.0.0.236/trunk@236161 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 22:18:28 +00:00
bzbarsky%mit.edu
ce268ae2a9 Optimize immutability of codebase/domain a little bit. Bug 380475, r=dveditz, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@228233 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 15:07:02 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
d81cffda8c Make GetOrigin dig into nested URIs. Bug 336303, r=dveditz, sr=jst
git-svn-id: svn://10.0.0.236/trunk@196360 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 00:05:40 +00:00
bzbarsky%mit.edu
354647c8df Expose the subject name for the cert and an nsISupports pointer to the cert on
nsIPrincipal that represents a certificate principal.  Change preference
storage to ensure matches in not only the fingerprint but also the subjectName
before applying privileges from preferences to a certificate principal.  Remove
possibility for creating certificate principals without a useful identifying
name and make sure that names don't get munged by being forced to ASCII.  Bug
240661, r=caillon, sr=dveditz, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176458 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 19:05:42 +00:00
timeless%mozdev.org
310bcc516c Bug 300853 Caps crash on cleanup [@ DomainPolicy::Drop]
patch by g.maone@informaction.com r=caillon sr=dveditz a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176283 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 21:55:36 +00:00
timeless%mozdev.org
fa1982b341 Bug 217967 FF104 crash [@ PL_DHashTableOperate ] changing caps access control prefs
More consistent DomainPolicy lifecycle management avoids use of corrupted hashtable data
patch by g.maone@informaction.com r=dveditz sr=shaver a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175300 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 16:29:49 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
arielb%netscape.com
35dc473dd3 Fix to the caps security module. I removed the nsPrincipal struct, from now
on you can access principals by their xpcomed interface nsIPrincipal.


git-svn-id: svn://10.0.0.236/trunk@40961 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:58:23 +00:00
raman%netscape.com
b40d7ccdf1 Checking in changes from Bob Glickstein
git-svn-id: svn://10.0.0.236/trunk@16420 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-15 05:53:19 +00:00
raman%netscape.com
c88302e2b7 Bug fixes from MozillaClassic branch, plus changes to build caps without rdf
git-svn-id: svn://10.0.0.236/trunk@14756 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 21:57:13 +00:00
raman%netscape.com
cd0724bace Added verification certifcates that are created via nsICapsManager. This could be used by JVM plugins.
git-svn-id: svn://10.0.0.236/trunk@12918 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-15 20:56:34 +00:00
raman%netscape.com
d98f212496 Backing out my previous check-in. I was told my changes built ok on Mac, But I wasn't given complete information. Sorry for trouble.
git-svn-id: svn://10.0.0.236/trunk@12783 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 05:01:12 +00:00
raman%netscape.com
0b2ad46a78 Support for nsICertPrincipal. We do the certificate verification of certificates passed by JavaSoft
git-svn-id: svn://10.0.0.236/trunk@12776 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-14 02:52:40 +00:00
racham%netscape.com
51fb5cc6b6 Adding filecode base check routine
git-svn-id: svn://10.0.0.236/trunk@12073 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 20:59:47 +00:00
raman%netscape.com
9fab93c0d3 Added CertChain Principal support for Javasoft. Added calls for AskPermission and SetPermission
git-svn-id: svn://10.0.0.236/trunk@10450 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 00:06:44 +00:00
raman%netscape.com
fc377d03a9 Added AskPermission and SetPermission API calls for OJI. Added the CertChain Principal support for JavaSoft.
git-svn-id: svn://10.0.0.236/trunk@10171 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 18:39:48 +00:00
raman%netscape.com
8a29b1f0b1 Added getSigners API for SmartUpate
git-svn-id: svn://10.0.0.236/trunk@9136 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-02 19:10:57 +00:00
warren%netscape.com
3c42f93bf9 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag.
git-svn-id: svn://10.0.0.236/trunk@6967 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-31 20:19:50 +00:00
raman
8547f117f6 This is not part of any build system. caps is part of OJI effort. It will be used by JavaScript in future. Approved by warren/jar/jsw.
git-svn-id: svn://10.0.0.236/trunk@5307 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-10 21:12:19 +00:00