You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "YING WANG (JIRA)" <ji...@apache.org> on 2010/04/19 22:39:50 UTC
[jira] Created: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
---------------------------------------------------------------------------------------------
Key: GERONIMO-5259
URL: https://issues.apache.org/jira/browse/GERONIMO-5259
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: specs
Affects Versions: 2.2
Reporter: YING WANG
Priority: Minor
Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859405#action_12859405 ]
Donald Woods commented on GERONIMO-5259:
----------------------------------------
Did you create your patch against the latest code?
https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-jcdi_1.0_spec/src/main/java/javax/enterprise/util/AnnotationLiteral.java
There seems to be other differences in the files you attached, like in the hashCode() and equals() methods.
Also, please attach a patch file by using "svn diff" and use 4 spaces instead of tabs for code changes.
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 2.2
> Reporter: YING WANG
> Priority: Minor
> Attachments: AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YING WANG updated GERONIMO-5259:
--------------------------------
Attachment: AnnotationLiteral.java
Here is my patch. Please review.
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 2.2
> Reporter: YING WANG
> Priority: Minor
> Attachments: AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YING WANG reopened GERONIMO-5259:
---------------------------------
299 TCK does not like the protected nested static helper class. We need to switch to anonymous inner classes. I will upload patch shortly.
===================================================================================
Added Classes
-------------
javax.enterprise.util.AnnotationLiteral$PrivilegedActionForAccessibleObject
Added Nested Classes
--------------------
javax.enterprise.util.AnnotationLiteral:nested protected static javax.enterprise.util.AnnotationLiteral$PrivilegedActionForAccessibleObject
STATUS:Failed.2 errors
===================================================================================
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 3.0
> Reporter: YING WANG
> Assignee: Donald Woods
> Priority: Minor
> Fix For: 3.0-M1
>
> Attachments: 5259.patch, AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick McGuire updated GERONIMO-5259:
-----------------------------------
Fix Version/s: 3.0-M1
(was: 3.0)
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 3.0
> Reporter: YING WANG
> Assignee: Donald Woods
> Priority: Minor
> Fix For: 3.0-M1
>
> Attachments: 5259.patch, AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated GERONIMO-5259:
-----------------------------------
Affects Version/s: 3.0
(was: 2.2)
Patch Info: [Patch Available]
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 3.0
> Reporter: YING WANG
> Assignee: Donald Woods
> Priority: Minor
> Fix For: 3.0
>
> Attachments: 5259.patch, AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods resolved GERONIMO-5259.
------------------------------------
Fix Version/s: 3.0
Resolution: Fixed
Committed as r937297.
Published updated 1.1-SNAPSHOT artifact (geronimo-jcdi_1.0_spec-1.1-20100423.134833-1.jar) to snapshot repo.
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 2.2
> Reporter: YING WANG
> Assignee: Donald Woods
> Priority: Minor
> Fix For: 3.0
>
> Attachments: 5259.patch, AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YING WANG updated GERONIMO-5259:
--------------------------------
Attachment: AnnotationLiteral.path2
Please help review. anonymous class is used to avoid TCK complains.
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 3.0
> Reporter: YING WANG
> Assignee: Donald Woods
> Priority: Minor
> Fix For: 3.0-M1
>
> Attachments: 5259.patch, AnnotationLiteral.java, AnnotationLiteral.path2
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods reassigned GERONIMO-5259:
--------------------------------------
Assignee: Donald Woods
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 2.2
> Reporter: YING WANG
> Assignee: Donald Woods
> Priority: Minor
> Attachments: 5259.patch, AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-5259) Annoying "access denied" security
exceptions for oenwebbeans while java2 security is enabled.
Posted by "YING WANG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YING WANG updated GERONIMO-5259:
--------------------------------
Attachment: 5259.patch
Please help review this patch. Thanks a lot.
> Annoying "access denied" security exceptions for oenwebbeans while java2 security is enabled.
> ---------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5259
> URL: https://issues.apache.org/jira/browse/GERONIMO-5259
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: specs
> Affects Versions: 2.2
> Reporter: YING WANG
> Priority: Minor
> Attachments: 5259.patch, AnnotationLiteral.java
>
>
> Hello neighbors, I am from the openwebbean project. while I am fixing owb-312 (https://issues.apache.org/jira/browse/OWB-312), I found some of AccessControlExceptions are fired fom javax.enterprise.util.AnnotationLiteral in jcdi api.
> Fixing the issue in OWB will be nasty since it is referenced all over the owb code.
> Could we add doPrivileged block around Class.setAccess() and getDeclaredMethods calls in this class?
> Thanks in advnace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.