commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: java.security enhancements


From: Michael Koch
Subject: Patch: java.security enhancements
Date: Thu, 3 Jun 2004 08:34:44 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached patch from Casey Marshall.


Michael


2004-06-03  Casey Marshall <address@hidden>

        * java/security/AccessControlContext.java
        (protectionDomain): mark final.
        (combiner): likewise.
        (<init>(ProtectionDomain[])): use HashSet to uniquify domains.
        (<init>(ProtectionDomain[],AccessControlContext,DomainCombiner)):
        new constructor.
        (checkPermission): only succeed if `perm' is implied by all
        protection domains.
        (equal): do unordered comparison.
        * java/security/ProtectionDomain.java
        (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
        `true'.
        * java/security/SecureClassLoader.java
        (defineClass): make protection domain dynamically bound.
        (getPermissions): call `getCurrentPolicy' to avoid permission
        check.
        * java/util/PropertyPermissionCollection.java
        (implies): avoid infinite loop.

- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAvsaEWSOgCCdjSDsRAqVYAKCCfwq05NGwRcjPywX4v5DVat3bsACgj9nL
JSu/202xBkW+XBPIQ9vp7PY=
=QGmV
-----END PGP SIGNATURE-----

Attachment: security.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]