You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Dave Roberts (JIRA)" <ji...@apache.org> on 2013/09/09 18:35:52 UTC

[jira] [Commented] (FTPSERVER-446) Implementing User Manager not possible in OSGi environment

    [ https://issues.apache.org/jira/browse/FTPSERVER-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762008#comment-13762008 ] 

Dave Roberts commented on FTPSERVER-446:
----------------------------------------

Ignore the previous patches, they only did half the job.

I have now also moved the Permission classes into a new authority package for re-use by external implementations and modified the Request classes accordingly.  I've also updated the interfaces with the setter methods as required by the Request classes.

All changes are now available on https://github.com/peodratash/mina-ftpserver/tree/user-manager
                
> Implementing User Manager not possible in OSGi environment
> ----------------------------------------------------------
>
>                 Key: FTPSERVER-446
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-446
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>            Reporter: Dave Roberts
>         Attachments: concurrentlogin.patch, transferrate.patch, writerequest.patch
>
>
> The USER class checks to see if the user logging in is permitted to do so concurrently.  This is done by creating an instance of org.apache.ftpserver.usermanager.impl.ConcurrentLoginRequest and passing that to the authorize(AuthorizationRequest) method for the User object.
> Unless the User implementation is the one supplied by FTP Server, then the request cannot be handled because the org.apache.ftpserver.usermanager.impl package is not exported by the OSGi bundle.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira