You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2009/11/27 23:01:20 UTC
[jira] Created: (FELIX-1904) Update framework.security to 4.2.0 of
org.osgi.core
Update framework.security to 4.2.0 of org.osgi.core
---------------------------------------------------
Key: FELIX-1904
URL: https://issues.apache.org/jira/browse/FELIX-1904
Project: Felix
Issue Type: Improvement
Reporter: Davanum Srinivas
Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
[dims@dims-desktop framework.security]$ pwd
/home/dims/apache/felix/framework.security
[dims@dims-desktop framework.security]$svn diff pom.xml
Index: pom.xml
===================================================================
--- pom.xml (revision 884284)
+++ pom.xml (working copy)
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>4.1.0</version>
+ <version>4.2.0</version>
</dependency>
<dependency>
<groupId>${pom.groupId}</groupId>
In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
thanks,
dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1904) Update framework.security to 4.2.0 of
org.osgi.core
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls updated FELIX-1904:
------------------------------
Component/s: (was: Permission Admin)
framework.security
Fix Version/s: framework.security-1.0.0
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: framework.security
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
> Fix For: framework.security-1.0.0
>
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-1904) Update framework.security to 4.2.0 of
org.osgi.core
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated FELIX-1904:
------------------------------------
Component/s: Permission Admin
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: Permission Admin
> Reporter: Davanum Srinivas
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1904) Update framework.security to 4.2.0
of org.osgi.core
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783428#action_12783428 ]
Karl Pauls commented on FELIX-1904:
-----------------------------------
Well, as you mention, I will have to implement the missing methods first. I don't think it makes much sense otherwise. Hopefully I should be able to get to it real soon now.
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: Permission Admin
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1904) Update framework.security to 4.2.0
of org.osgi.core
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783437#action_12783437 ]
Davanum Srinivas commented on FELIX-1904:
-----------------------------------------
Thanks a ton Karl!
One more thing i noticed when I was looking at the spec was that the encoded string used in :
newConditionalPermissionInfo(String)
is as follows:
policy ::= access '{' conditions permissions'}' name?
access ::= 'ALLOW' | 'DENY' // case insensitive
name ::= quoted-string
So we have to update the implementation we have in the following method:
public ConditionalPermissionInfoImpl(String encoded)
thanks,
dims
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: Permission Admin
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1904) Update framework.security to 4.2.0
of org.osgi.core
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783441#action_12783441 ]
Davanum Srinivas commented on FELIX-1904:
-----------------------------------------
Sounds great Karl!
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: Permission Admin
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-1904) Update framework.security to 4.2.0
of org.osgi.core
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783438#action_12783438 ]
Karl Pauls commented on FELIX-1904:
-----------------------------------
Yeah, there a couple of things that need to happen when we move to 4.2. It's not only implementing the methods but the new DENY policy part as well. I will update to 4.2.0 when we have that stuff done.
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: Permission Admin
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-1904) Update framework.security to 4.2.0 of
org.osgi.core
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls reassigned FELIX-1904:
---------------------------------
Assignee: Karl Pauls
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: Permission Admin
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-1904) Update framework.security to 4.2.0 of
org.osgi.core
Posted by "Karl Pauls (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls resolved FELIX-1904.
-------------------------------
Resolution: Fixed
I added support for the 4.2.0 security spec. This includes implementations for all new features and changes. However, the new provider will only work with the current framework trunk. Please close if it works for you.
> Update framework.security to 4.2.0 of org.osgi.core
> ---------------------------------------------------
>
> Key: FELIX-1904
> URL: https://issues.apache.org/jira/browse/FELIX-1904
> Project: Felix
> Issue Type: Improvement
> Components: framework.security
> Reporter: Davanum Srinivas
> Assignee: Karl Pauls
> Fix For: framework.security-1.0.0
>
>
> Currently, framework.security's pom.xml uses osgi core 4.1.0. While org.apache.felix.framework (version 2.1.0-SNAPSHOT, 2.0.1 and 2.0.2 etc) uses 4.2.0. Can you please update the dependency to 4.2.0?
> [dims@dims-desktop framework.security]$ pwd
> /home/dims/apache/felix/framework.security
> [dims@dims-desktop framework.security]$svn diff pom.xml
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 884284)
> +++ pom.xml (working copy)
> @@ -34,7 +34,7 @@
> <dependency>
> <groupId>org.osgi</groupId>
> <artifactId>org.osgi.core</artifactId>
> - <version>4.1.0</version>
> + <version>4.2.0</version>
> </dependency>
> <dependency>
> <groupId>${pom.groupId}</groupId>
> In the 4.2.0 version there are newer methods in ConditionalPermissionAdmin / ConditionalPermissionInfo interfaces that need to be implemented.
> thanks,
> dims
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.