[
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.