You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2010/04/05 00:33:27 UTC
[jira] Created: (OPENEJB-1253) ee6 mdbs can call isCallerInRole()
ee6 mdbs can call isCallerInRole()
----------------------------------
Key: OPENEJB-1253
URL: https://issues.apache.org/jira/browse/OPENEJB-1253
Project: OpenEJB
Issue Type: New Feature
Components: container system
Affects Versions: 3.1.x
Reporter: David Jencks
Assignee: David Jencks
Fix For: 3.1.x
The connector 1.6 spec has security inflow, so mdbs can find out what roles they are in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OPENEJB-1253) ee6 mdbs can call isCallerInRole()
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks updated OPENEJB-1253:
----------------------------------
Assignee: (was: David Jencks)
Rev 930761 implements the runtime functionality. This is enough for geronimo. Openejb may need to do some more deployment activity to pick up security-role-refs for mdbs.
> ee6 mdbs can call isCallerInRole()
> ----------------------------------
>
> Key: OPENEJB-1253
> URL: https://issues.apache.org/jira/browse/OPENEJB-1253
> Project: OpenEJB
> Issue Type: New Feature
> Components: container system
> Affects Versions: 3.1.x
> Reporter: David Jencks
> Fix For: 3.1.x
>
>
> The connector 1.6 spec has security inflow, so mdbs can find out what roles they are in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OPENEJB-1253) ee6 mdbs can call isCallerInRole()
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890197#action_12890197 ]
David Jencks commented on OPENEJB-1253:
---------------------------------------
I rolled back this bit in the 3.1.x branch to make it javaee 5 compatible in rev 965735.
> ee6 mdbs can call isCallerInRole()
> ----------------------------------
>
> Key: OPENEJB-1253
> URL: https://issues.apache.org/jira/browse/OPENEJB-1253
> Project: OpenEJB
> Issue Type: New Feature
> Components: container system
> Affects Versions: 3.1.x
> Reporter: David Jencks
> Fix For: 3.1.x
>
>
> The connector 1.6 spec has security inflow, so mdbs can find out what roles they are in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OPENEJB-1253) ee6 mdbs can call isCallerInRole()
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883786#action_12883786 ]
Shawn Jiang commented on OPENEJB-1253:
--------------------------------------
Log:
OPENEJB-1253 allow mdbs to call isCallerInRole()
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContext.java
openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/util/URLs.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java
openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java
Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContext.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContext.java?rev=930761&r1=930760&r2=930761&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContext.java (original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/mdb/MdbContext.java Sun Apr 4 22:33:42 2010
@@ -184,7 +184,7 @@ public class MdbContext extends BaseCont
/**
* Message listener method, business method interceptor method
- * and imeout callback method
+ * and timeout callback method
*/
protected static class BusinessTimeoutMdbState extends State {
@Override
@@ -197,11 +197,6 @@ public class MdbContext extends BaseCont
throw new IllegalStateException();
}
- @Override
- public boolean isCallerInRole(SecurityService securityService, String roleName) {
- throw new IllegalStateException();
- }
-
}
------------------------------------------------------------------------------
This change is for Java EE 6 spec. Because 3.1.x is for Java EE 5, can anyone help revert this change from the 3.1.x branch ?
> ee6 mdbs can call isCallerInRole()
> ----------------------------------
>
> Key: OPENEJB-1253
> URL: https://issues.apache.org/jira/browse/OPENEJB-1253
> Project: OpenEJB
> Issue Type: New Feature
> Components: container system
> Affects Versions: 3.1.x
> Reporter: David Jencks
> Fix For: 3.1.x
>
>
> The connector 1.6 spec has security inflow, so mdbs can find out what roles they are in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.