harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4449) [buildtest][func] test func.api.java.security.auth.F_AuthPermissionTest_01.F_AuthPermissionTest_01 should be improved
Date Fri, 13 Jul 2007 02:50:05 GMT
[buildtest][func] test func.api.java.security.auth.F_AuthPermissionTest_01.F_AuthPermissionTest_01
should be improved
---------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-4449
                 URL: https://issues.apache.org/jira/browse/HARMONY-4449
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
            Reporter: Vladimir Ivanov
            Priority: Minor


The func test func.api.java.security.auth.F_AuthPermissionTest_01.F_AuthPermissionTest_01
depend on environment settings.
For example, I have a '.java.policy" file in my home directory like:
---------------------------------
grant {
permission java.security.AllPermission;
};
---------------------------------

and this test failed in my environment as:
"Protection domain mustn't have a security permission 'AuthPermission doAsPrivileged'".

Note, permission set in my case is (on RI):
java.security.Permissions@cdfc9c (
 (java.security.AllPermission <all permissions> <all actions>)
 (java.lang.RuntimePermission stopThread)
 (java.lang.RuntimePermission exitVM)
 (java.util.PropertyPermission java.version read)
 (java.util.PropertyPermission java.vm.name read)
 (java.util.PropertyPermission user.name read)
 (java.util.PropertyPermission java.vm.vendor read)
 (java.util.PropertyPermission os.name read)
 (java.util.PropertyPermission java.vendor.url read)
 (java.util.PropertyPermission java.vm.specification.vendor read)
 (java.util.PropertyPermission java.specification.vendor read)
 (java.util.PropertyPermission os.version read)
 (java.util.PropertyPermission java.specification.name read)
 (java.util.PropertyPermission java.class.version read)
 (java.util.PropertyPermission file.separator read)
 (java.util.PropertyPermission java.vm.version read)
 (java.util.PropertyPermission os.arch read)
 (java.util.PropertyPermission java.vm.specification.name read)
 (java.util.PropertyPermission java.vm.specification.version read)
 (java.util.PropertyPermission java.specification.version read)
 (java.util.PropertyPermission java.vendor read)
 (java.util.PropertyPermission path.separator read)
 (java.util.PropertyPermission line.separator read)
 (java.io.FilePermission \C:\harmony.top\buildtest\branches\2.0\build\classes\func\classes\-
read)
 (java.security.SecurityPermission createAccessControlContext)
 (java.security.SecurityPermission getPolicy)
 (java.net.SocketPermission localhost:1024- listen,resolve)
 (javax.security.auth.AuthPermission createLoginContext.*)
 (javax.security.auth.AuthPermission setLoginConfiguration)
)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message