You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Bernd Hofmann (JIRA)" <ji...@apache.org> on 2009/10/23 07:49:59 UTC
[jira] Created: (FTPSERVER-336) BaseUser class from ftpserver-core
bundle can't be used in other bundles in an OSGi environment
BaseUser class from ftpserver-core bundle can't be used in other bundles in an OSGi environment
-----------------------------------------------------------------------------------------------
Key: FTPSERVER-336
URL: https://issues.apache.org/jira/browse/FTPSERVER-336
Project: FtpServer
Issue Type: Bug
Components: Core
Affects Versions: 1.0.3
Environment: Eclipse Equinox
Reporter: Bernd Hofmann
Hallo,
In an OSGi environment the BaseUser class can't be used in other bundles (like in the examples on the ftpserver's homepage) as the ftpserver-core MANIFEST.MF excludes the class' package from export:
Private-Package: ...,org.apache.ftpserver.usermanager.impl, ...
There is no way to add users programmatically (or I couldn't find another one than the one in the example :-)
Best regards,
Bernd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-336) BaseUser class from ftpserver-core
bundle can't be used in other bundles in an OSGi environment
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-336:
----------------------------------------
Fix Version/s: 1.1.0
1.0.4
Assignee: Niklas Gustavsson
> BaseUser class from ftpserver-core bundle can't be used in other bundles in an OSGi environment
> -----------------------------------------------------------------------------------------------
>
> Key: FTPSERVER-336
> URL: https://issues.apache.org/jira/browse/FTPSERVER-336
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.3
> Environment: Eclipse Equinox
> Reporter: Bernd Hofmann
> Assignee: Niklas Gustavsson
> Fix For: 1.0.4, 1.1.0
>
>
> Hallo,
> In an OSGi environment the BaseUser class can't be used in other bundles (like in the examples on the ftpserver's homepage) as the ftpserver-core MANIFEST.MF excludes the class' package from export:
> Private-Package: ...,org.apache.ftpserver.usermanager.impl, ...
> There is no way to add users programmatically (or I couldn't find another one than the one in the example :-)
> Best regards,
> Bernd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FTPSERVER-336) BaseUser class from ftpserver-core
bundle can't be used in other bundles in an OSGi environment
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-336.
---------------------------------------
Resolution: Fixed
Fixed in rev 919954
commit -m "Adding factory for creating users, especially useful in OSGi environment where access to BaseUser is inhibited (FTPSERVER-336)" /Users/niklas/Documents/svn/ftpserver-1.0.x/core/src/main/java/org/apache/ftpserver/usermanager/UserFactory.java /Users/niklas/Documents/svn/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/UserFactory.java
Adding /Users/niklas/Documents/svn/ftpserver-1.0.x/core/src/main/java/org/apache/ftpserver/usermanager/UserFactory.java
Adding /Users/niklas/Documents/svn/ftpserver-trunk/core/src/main/java/org/apache/ftpserver/usermanager/UserFactory.java
Transmitting file data ...
Committed revision 919954.
> BaseUser class from ftpserver-core bundle can't be used in other bundles in an OSGi environment
> -----------------------------------------------------------------------------------------------
>
> Key: FTPSERVER-336
> URL: https://issues.apache.org/jira/browse/FTPSERVER-336
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.3
> Environment: Eclipse Equinox
> Reporter: Bernd Hofmann
> Assignee: Niklas Gustavsson
> Fix For: 1.0.4, 1.1.0
>
>
> Hallo,
> In an OSGi environment the BaseUser class can't be used in other bundles (like in the examples on the ftpserver's homepage) as the ftpserver-core MANIFEST.MF excludes the class' package from export:
> Private-Package: ...,org.apache.ftpserver.usermanager.impl, ...
> There is no way to add users programmatically (or I couldn't find another one than the one in the example :-)
> Best regards,
> Bernd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FTPSERVER-336) BaseUser class from
ftpserver-core bundle can't be used in other bundles in an OSGi environment
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770663#action_12770663 ]
Niklas Gustavsson commented on FTPSERVER-336:
---------------------------------------------
This is a known limitation, and one we should address. Adding this issue to 1.04 and 1.1.0.
> BaseUser class from ftpserver-core bundle can't be used in other bundles in an OSGi environment
> -----------------------------------------------------------------------------------------------
>
> Key: FTPSERVER-336
> URL: https://issues.apache.org/jira/browse/FTPSERVER-336
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.3
> Environment: Eclipse Equinox
> Reporter: Bernd Hofmann
> Fix For: 1.0.4, 1.1.0
>
>
> Hallo,
> In an OSGi environment the BaseUser class can't be used in other bundles (like in the examples on the ftpserver's homepage) as the ftpserver-core MANIFEST.MF excludes the class' package from export:
> Private-Package: ...,org.apache.ftpserver.usermanager.impl, ...
> There is no way to add users programmatically (or I couldn't find another one than the one in the example :-)
> Best regards,
> Bernd
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.