Re: [Dev] OAuth2 introspection endpoint with token_type_hint parameter
Hi Nilasini and Farasath, Thank you for your assistance. I checked with WSO2 IS 5.8.0 RC1 and it is fixed. Thanks, Chanaka On Fri, May 10, 2019 at 4:43 PM Nilasini Thirunavukkarasu wrote: > Hi Farasath, > > Seems like we have already added that logic as well [1]. If we have > specified a known token type hint then we are only searching the token > according to the given token_type_hint, if we are not specifying or specify > an unknown token_type_hint then we are searching through all the available > token validators and validate the token. > > [1] > https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/970/files#diff-1e2e2c1e5664f2003188d37ab53048fdR237 > > Thanks, > Nila. > > On Fri, May 10, 2019 at 4:08 PM Farasath Ahamed > wrote: > >> Hi, >> >> While supporting *token_type_hint *value access_token and refresh_token >> is good, it looks like we need to fix the logic of handling unknown >> token_type_hints. >> >> I think Chanaka has raised a valid concern here. If an invalid token hint >> is given then we need to do a full search. But it seems that we rely on the >> provided token_type_hint to do the search. >> >> @Chanaka Lakmal Can you create a git issue for this >> under product-is repo? >> >> >> Regards, >> Farasath >> >> On Fri, May 10, 2019 at 3:34 PM Nilasini Thirunavukkarasu < >> nilas...@wso2.com> wrote: >> >>> Hi Chanaka, >>> >>> supporting *token_type_hint *parameter had been fixed in the master >>> branch [1][2] and will be released with the upcoming release. >>> >>> [1] https://github.com/wso2/product-is/issues/3780 >>> [2] >>> https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/970/files#diff-78ef442733b42d8573912a910e98d884R83 >>> >>> Thanks, >>> Nila. >>> >>> On Fri, May 10, 2019 at 3:09 PM Chanaka Lakmal >>> wrote: >>> >>>> Hi all, >>>> >>>> I encountered an issue when trying to Invoke the OAuth2 Introspection >>>> Endpoint of WSO2 IS 5.7.0 as guided by the doc [1]. These are the scenarios >>>> I tried a valid token, and a part of the response status: >>>> >>>> >>>>1. Invoke introspection endpoint with the *token. *Response - >>>>{"active":true} >>>>curl -k -u admin:admin -H 'Content-Type: >>>>application/x-www-form-urlencoded' -X POST --data >>>>'token=334060588-dd4e-36a5-ad93-440cc77a1cfb' >>>>https://localhost:9443/oauth2/introspect >>>> >>>>2. Invoke introspection endpoint with the *token* and >>>>*token_type_hint*=*bearer*. Response - {"active":true} >>>>curl -k -u admin:admin -H 'Content-Type: >>>>application/x-www-form-urlencoded' -X POST --data >>>>'token=334060588-dd4e-36a5-ad93-440cc77a1cfb&token_type_hint=bearer' >>>>https://localhost:9443/oauth2/introspect >>>> >>>>3. Invoke introspection endpoint with the *token* and >>>>*token_type_hint*=*access_token*. Response - {"active":false} >>>>curl -k -u admin:admin -H 'Content-Type: >>>>application/x-www-form-urlencoded' -X POST --data >>>> >>>> 'token=334060588-dd4e-36a5-ad93-440cc77a1cfb&token_type_hint=access_token' >>>>https://localhost:9443/oauth2/introspect >>>> >>>> >>>> According to the OAuth2 token introspection specification [2], >>>> >>>> If the server is unable to locate the token using the given hint, >>>> >>>> it MUST extend its search across all of its supported token types. >>>> >>>> >>>> So, according to the specification, It should send the active parameter >>>> of the response as true in the 3rd scenario. >>>> >>>> Appreciate your thoughts on this. >>>> >>>> [1] >>>> https://docs.wso2.com/display/IS541/Invoke+the+OAuth+Introspection+Endpoint >>>> [2] https://tools.ietf.org/html/rfc7662#section-2.1 >>>> >>>> Thanks, >>>> Chanaka >>>> -- >>>> *Chanaka Lakmal* | Software Engineer | WSO2 Inc. >>>> Mobile : (+94) 77 596 2256 >>>> >>>> >>>> * <https://wso2.com/signature>* >>>> >>> >>> >>> -- >>> Nilasini Thirunavukka
[Dev] OAuth2 introspection endpoint with token_type_hint parameter
Hi all, I encountered an issue when trying to Invoke the OAuth2 Introspection Endpoint of WSO2 IS 5.7.0 as guided by the doc [1]. These are the scenarios I tried a valid token, and a part of the response status: 1. Invoke introspection endpoint with the *token. *Response - {"active":true} curl -k -u admin:admin -H 'Content-Type: application/x-www-form-urlencoded' -X POST --data 'token=334060588-dd4e-36a5-ad93-440cc77a1cfb' https://localhost:9443/oauth2/introspect 2. Invoke introspection endpoint with the *token* and *token_type_hint*= *bearer*. Response - {"active":true} curl -k -u admin:admin -H 'Content-Type: application/x-www-form-urlencoded' -X POST --data 'token=334060588-dd4e-36a5-ad93-440cc77a1cfb&token_type_hint=bearer' https://localhost:9443/oauth2/introspect 3. Invoke introspection endpoint with the *token* and *token_type_hint*= *access_token*. Response - {"active":false} curl -k -u admin:admin -H 'Content-Type: application/x-www-form-urlencoded' -X POST --data 'token=334060588-dd4e-36a5-ad93-440cc77a1cfb&token_type_hint=access_token' https://localhost:9443/oauth2/introspect According to the OAuth2 token introspection specification [2], If the server is unable to locate the token using the given hint, it MUST extend its search across all of its supported token types. So, according to the specification, It should send the active parameter of the response as true in the 3rd scenario. Appreciate your thoughts on this. [1] https://docs.wso2.com/display/IS541/Invoke+the+OAuth+Introspection+Endpoint [2] https://tools.ietf.org/html/rfc7662#section-2.1 Thanks, Chanaka -- *Chanaka Lakmal* | Software Engineer | WSO2 Inc. Mobile : (+94) 77 596 2256 * <https://wso2.com/signature>* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
Hi Malaka, Thank you for the response. When searching for Java FTP/SFTP libraries I found out that there are only a very few libraries built on top of NIO. But each of them had few limitations. So, I could not find any other fully-supported and suitable library built on top of NIO. When considering about Apache Commons Net [1] it supports FTP and FTPS, but it does NOT support SFTP. Will that be a problem to us? My research found out that the best and most widely used library for FTP/SFTP is JSch [2]. I worked with it during my industrial training and it seems to fit for our requirements and it is widely used in the industry too. As I said earlier, with the use of those findings I created a comparison on SSHJ, Apache Commons VFS and JSch and published on my blog [3]. This blog article [4] also says about the author's experience in FTP/SFTP using different libraries and there were many other similar articles by different authors. What do you think about using JSch? Can we use commons-net when it doesn't support SFTP? [1] https://commons.apache.org/proper/commons-net/ [2] http://www.jcraft.com/jsch/ [3] https://medium.com/@ldclakmal/comparison-of-commons-vfs-sshj-and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.t09zd4zr5 [4] http://www.onkarjoshi.com/blog/126/which-library-to-use-for-ftp-sftp-ftps-file-transfer-in-java/ Thank you. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> On Mon, Mar 20, 2017 at 10:13 AM, Malaka Silva wrote: > Hi Chanaka, > > Yes if this does not support upto the level we need it'll be an issue. Did > you find any other libraries that are build on top of NIO. > > If not we can compare the limitations with common-vfs (will be using > commons-net internally for ftp/sftp) on functionality. eg: Unable to modify > metadata of a file, Cannot connect via a proxy, etc. > > If we have enough feature that can be supported with commons-net [1] we > can do the inbound-connector with commons-net. > > [1] https://commons.apache.org/proper/commons-net/ > > On Sun, Mar 19, 2017 at 10:28 AM, Chanaka Lakmal > wrote: > >> Hi Malaka, >> >> I researched for the Java NIO FTP library that you suggested for me [1]. >> What I found was that this is a code base with a very short history and the >> most recent commit was over 13 years ago by Torvald Riegel who was the only >> contributor to this [2]. I feel like this is not an ongoing project and not >> supported by the author. What do you think? >> >> And I couldn't find any documentation regarding that library. Although I >> went through each and every Java class of this library, I couldn't find a >> way to get the use of this library without a API reference or documentation. >> >> I would be glad if you could share some additional materials if you have >> or any suggestions to get a better approach to this project. >> >> [1] http://java-nio-ftp-library.soft112.com/ >> [2] https://www.openhub.net/p/javanioftp >> >> Thanks. >> >> Best Regards. >> >> *Chanaka Lakmal,* >> Undergraduate B.Sc.Eng.(Hons.) >> Department of Computer Science & Engineering, >> University of Moratuwa, >> Sri Lanka. >> >> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >> >> On Tue, Mar 14, 2017 at 6:29 PM, Chanaka Lakmal >> wrote: >> >>> Hi Malaka, >>> >>> Sure. Thanks for the suggestion. I will see to it and get back to you. >>> >>> Thanks. >>> >>> Best Regards. >>> >>> *Chanaka Lakmal,* >>> Undergraduate B.Sc.Eng.(Hons.) >>> Department of Computer Science & Engineering, >>> University of Moratuwa, >>> Sri Lanka. >>> >>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >>> >>> On Tue, Mar 14, 2017 at 1:41 PM, Malaka Silva wrote: >>> >>>> Hi Chanaka, >>>> >>>> Can we also try the following? This is more optimized. >>>> >>>> [1] http://java-nio-ftp-library.soft112.com/ >>>> >>>> On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal >>>> wrote: >>>> >>>>> Hi Malaka, >>>>> >>>>> I researched for the libraries that we can use for FTP/SFTP operations >>>>> in addition to using Apache Commons VFS. I found out about some widely >>>>> used >>>>> libraries such as SSHJ [1] and JSch [2] and did a comparison among them. >>>>> With the u
Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
Hi Malaka, I researched for the Java NIO FTP library that you suggested for me [1]. What I found was that this is a code base with a very short history and the most recent commit was over 13 years ago by Torvald Riegel who was the only contributor to this [2]. I feel like this is not an ongoing project and not supported by the author. What do you think? And I couldn't find any documentation regarding that library. Although I went through each and every Java class of this library, I couldn't find a way to get the use of this library without a API reference or documentation. I would be glad if you could share some additional materials if you have or any suggestions to get a better approach to this project. [1] http://java-nio-ftp-library.soft112.com/ [2] https://www.openhub.net/p/javanioftp Thanks. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> On Tue, Mar 14, 2017 at 6:29 PM, Chanaka Lakmal wrote: > Hi Malaka, > > Sure. Thanks for the suggestion. I will see to it and get back to you. > > Thanks. > > Best Regards. > > *Chanaka Lakmal,* > Undergraduate B.Sc.Eng.(Hons.) > Department of Computer Science & Engineering, > University of Moratuwa, > Sri Lanka. > > [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> > > On Tue, Mar 14, 2017 at 1:41 PM, Malaka Silva wrote: > >> Hi Chanaka, >> >> Can we also try the following? This is more optimized. >> >> [1] http://java-nio-ftp-library.soft112.com/ >> >> On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal >> wrote: >> >>> Hi Malaka, >>> >>> I researched for the libraries that we can use for FTP/SFTP operations >>> in addition to using Apache Commons VFS. I found out about some widely used >>> libraries such as SSHJ [1] and JSch [2] and did a comparison among them. >>> With the use of those findings I created a comparison on SSHJ, Apache >>> Commons VFS and JSch and published on my blog [3]. >>> >>> Also, I have experience in JSch since I had previously worked on >>> developing a SCP transport using JSch [4] [5]. I believe its ability to >>> execute shell commands with the help of the library is a great feature in >>> JSch. According to the comparison and my experiences, JSch looks like the >>> best candidate among them and I hope to hear others' thoughts about this. >>> >>> Please share your recommendations and suggestions to get a better >>> approach to this project. >>> >>> [1] SSHJ - https://github.com/hierynomus/sshj >>> [2] JSch - http://www.jcraft.com/jsch/ >>> [3] SSHJ, Apache Commons VFS and JSch comparison (blog post) - >>> https://medium.com/@ldclakmal/comparison-of-commons-vfs-sshj >>> -and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.d6bux0q0f >>> [4] My SCP project (blog post) - https://medium.com/@ldclakmal/ >>> scp-with-java-b7b7dbcdbc85#.b05pinv1o >>> [5] My SCP project (git) - https://github.com/ldclakmal/SCPTransport >>> >>> Thanks. >>> >>> >>> Best Regards. >>> >>> *Chanaka Lakmal,* >>> Undergraduate B.Sc.Eng.(Hons.) >>> Department of Computer Science & Engineering, >>> University of Moratuwa, >>> Sri Lanka. >>> >>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >>> >>> On Fri, Mar 3, 2017 at 8:57 AM, Malaka Silva wrote: >>> >>>> Hi Chanaka, >>>> >>>> Sounds good. Looking forward to hear from you soon. >>>> >>>> On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal >>>> wrote: >>>> >>>>> Hi Malaka, >>>>> >>>>> Thank you for your response. >>>>> >>>>> As you mentioned, you have done a similar development to optimize and >>>>> manage local file system using Java NIO [1] instead of Commons-vfs. [2] So >>>>> my goal is to find such mechanism which is more unique to ftp/sftp >>>>> protocol, in order to support file operations via ftp/sftp protocol. >>>>> >>>>> So, I will come up with my suggestions with best mechanism that is to >>>>> be used for file operations via ftp/sftp protocol rather than Commons-vfs. >>>>> Please share if you have any recommended methods or suggestions to >>>>> get a better approach to this project. >>>>> >>>>> Also I do confirm
Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
Hi Malaka, Sure. Thanks for the suggestion. I will see to it and get back to you. Thanks. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> On Tue, Mar 14, 2017 at 1:41 PM, Malaka Silva wrote: > Hi Chanaka, > > Can we also try the following? This is more optimized. > > [1] http://java-nio-ftp-library.soft112.com/ > > On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal > wrote: > >> Hi Malaka, >> >> I researched for the libraries that we can use for FTP/SFTP operations in >> addition to using Apache Commons VFS. I found out about some widely used >> libraries such as SSHJ [1] and JSch [2] and did a comparison among them. >> With the use of those findings I created a comparison on SSHJ, Apache >> Commons VFS and JSch and published on my blog [3]. >> >> Also, I have experience in JSch since I had previously worked on >> developing a SCP transport using JSch [4] [5]. I believe its ability to >> execute shell commands with the help of the library is a great feature in >> JSch. According to the comparison and my experiences, JSch looks like the >> best candidate among them and I hope to hear others' thoughts about this. >> >> Please share your recommendations and suggestions to get a better >> approach to this project. >> >> [1] SSHJ - https://github.com/hierynomus/sshj >> [2] JSch - http://www.jcraft.com/jsch/ >> [3] SSHJ, Apache Commons VFS and JSch comparison (blog post) - >> https://medium.com/@ldclakmal/comparison-of-commons-vfs-sshj >> -and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.d6bux0q0f >> [4] My SCP project (blog post) - https://medium.com/@ldclakmal/ >> scp-with-java-b7b7dbcdbc85#.b05pinv1o >> [5] My SCP project (git) - https://github.com/ldclakmal/SCPTransport >> >> Thanks. >> >> >> Best Regards. >> >> *Chanaka Lakmal,* >> Undergraduate B.Sc.Eng.(Hons.) >> Department of Computer Science & Engineering, >> University of Moratuwa, >> Sri Lanka. >> >> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >> >> On Fri, Mar 3, 2017 at 8:57 AM, Malaka Silva wrote: >> >>> Hi Chanaka, >>> >>> Sounds good. Looking forward to hear from you soon. >>> >>> On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal >>> wrote: >>> >>>> Hi Malaka, >>>> >>>> Thank you for your response. >>>> >>>> As you mentioned, you have done a similar development to optimize and >>>> manage local file system using Java NIO [1] instead of Commons-vfs. [2] So >>>> my goal is to find such mechanism which is more unique to ftp/sftp >>>> protocol, in order to support file operations via ftp/sftp protocol. >>>> >>>> So, I will come up with my suggestions with best mechanism that is to >>>> be used for file operations via ftp/sftp protocol rather than Commons-vfs. >>>> Please share if you have any recommended methods or suggestions to get >>>> a better approach to this project. >>>> >>>> Also I do confirm that I am a full time student and eligible to >>>> participate GSoC. >>>> >>>> [1] https://store.wso2.com/store/assets/esbconnector/details >>>> /9ac7accf-6535-46c2-853e-9ca75c23cdef >>>> [2] http://commons.apache.org/proper/commons-vfs/index.html >>>> >>>> Thanks. >>>> >>>> Best Regards. >>>> >>>> *Chanaka Lakmal,* >>>> Undergraduate B.Sc.Eng.(Hons.) >>>> Department of Computer Science & Engineering, >>>> University of Moratuwa, >>>> Sri Lanka. >>>> >>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >>>> >>>> On Tue, Feb 28, 2017 at 10:29 PM, Malaka Silva wrote: >>>> >>>>> Hi Chanaka, >>>>> >>>>> Thank you for sending the mail. >>>>> >>>>> Currently we have file inbound endpoint [1] and file connector [2] to >>>>> support file operations in WSO2 ESB. >>>>> >>>>> However this is written on top of common-vfs. Common vfs support >>>>> variety of file systems or protocols. eg: ftp, samba etc. Due to that this >>>>> is not optimum for ftp/sftp. Also this provides limited options. >>>>> >>>>> We have done a s
Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
Hi Malaka, I researched for the libraries that we can use for FTP/SFTP operations in addition to using Apache Commons VFS. I found out about some widely used libraries such as SSHJ [1] and JSch [2] and did a comparison among them. With the use of those findings I created a comparison on SSHJ, Apache Commons VFS and JSch and published on my blog [3]. Also, I have experience in JSch since I had previously worked on developing a SCP transport using JSch [4] [5]. I believe its ability to execute shell commands with the help of the library is a great feature in JSch. According to the comparison and my experiences, JSch looks like the best candidate among them and I hope to hear others' thoughts about this. Please share your recommendations and suggestions to get a better approach to this project. [1] SSHJ - https://github.com/hierynomus/sshj [2] JSch - http://www.jcraft.com/jsch/ [3] SSHJ, Apache Commons VFS and JSch comparison (blog post) - https://medium.com/@ldclakmal/comparison-of-commons-vfs- sshj-and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.d6bux0q0f [4] My SCP project (blog post) - https://medium.com/@ldclakmal/ scp-with-java-b7b7dbcdbc85#.b05pinv1o [5] My SCP project (git) - https://github.com/ldclakmal/SCPTransport Thanks. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> On Fri, Mar 3, 2017 at 8:57 AM, Malaka Silva wrote: > Hi Chanaka, > > Sounds good. Looking forward to hear from you soon. > > On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal > wrote: > >> Hi Malaka, >> >> Thank you for your response. >> >> As you mentioned, you have done a similar development to optimize and >> manage local file system using Java NIO [1] instead of Commons-vfs. [2] So >> my goal is to find such mechanism which is more unique to ftp/sftp >> protocol, in order to support file operations via ftp/sftp protocol. >> >> So, I will come up with my suggestions with best mechanism that is to be >> used for file operations via ftp/sftp protocol rather than Commons-vfs. >> Please share if you have any recommended methods or suggestions to get a >> better approach to this project. >> >> Also I do confirm that I am a full time student and eligible to >> participate GSoC. >> >> [1] https://store.wso2.com/store/assets/esbconnector/details >> /9ac7accf-6535-46c2-853e-9ca75c23cdef >> [2] http://commons.apache.org/proper/commons-vfs/index.html >> >> Thanks. >> >> Best Regards. >> >> *Chanaka Lakmal,* >> Undergraduate B.Sc.Eng.(Hons.) >> Department of Computer Science & Engineering, >> University of Moratuwa, >> Sri Lanka. >> >> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >> >> On Tue, Feb 28, 2017 at 10:29 PM, Malaka Silva wrote: >> >>> Hi Chanaka, >>> >>> Thank you for sending the mail. >>> >>> Currently we have file inbound endpoint [1] and file connector [2] to >>> support file operations in WSO2 ESB. >>> >>> However this is written on top of common-vfs. Common vfs support variety >>> of file systems or protocols. eg: ftp, samba etc. Due to that this is not >>> optimum for ftp/sftp. Also this provides limited options. >>> >>> We have done a similar development to manage local file system using >>> Java NIO. [3] The idea of this project is to come up with similar inbound >>> and connector for ftp/sftp protocol. >>> >>> Also please confirm that you are a full time student and currently not >>> employed since it is against GSoC rules. >>> >>> [1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol >>> [2] https://store.wso2.com/store/assets/esbconnector/details >>> /48bab332-c6a6-4f5a-9b79-17e29c7ad4c6 >>> [3] https://store.wso2.com/store/assets/esbconnector/details >>> /9ac7accf-6535-46c2-853e-9ca75c23cdef >>> >>> On Tue, Feb 28, 2017 at 7:53 AM, Chanaka Lakmal >>> wrote: >>> >>>> Hi, >>>> >>>> I'm interested in the project *Native inbound and connector for >>>> FTP/SFTP operations*. I would like to know more information regarding >>>> this. >>>> >>>> I am Chanaka Lakmal, an final year undergraduate from Department of >>>> Computer Science and Engineering, University of Moratuwa. I have the basic >>>> knowledge on Java NIO, File Systems and I have been working with ESB and >>>> connectors. >>>> >>>> Ini
Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
Hi Malaka, Thank you for your response. As you mentioned, you have done a similar development to optimize and manage local file system using Java NIO [1] instead of Commons-vfs. [2] So my goal is to find such mechanism which is more unique to ftp/sftp protocol, in order to support file operations via ftp/sftp protocol. So, I will come up with my suggestions with best mechanism that is to be used for file operations via ftp/sftp protocol rather than Commons-vfs. Please share if you have any recommended methods or suggestions to get a better approach to this project. Also I do confirm that I am a full time student and eligible to participate GSoC. [1] https://store.wso2.com/store/assets/esbconnector/details /9ac7accf-6535-46c2-853e-9ca75c23cdef [2] http://commons.apache.org/proper/commons-vfs/index.html Thanks. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> On Tue, Feb 28, 2017 at 10:29 PM, Malaka Silva wrote: > Hi Chanaka, > > Thank you for sending the mail. > > Currently we have file inbound endpoint [1] and file connector [2] to > support file operations in WSO2 ESB. > > However this is written on top of common-vfs. Common vfs support variety > of file systems or protocols. eg: ftp, samba etc. Due to that this is not > optimum for ftp/sftp. Also this provides limited options. > > We have done a similar development to manage local file system using Java > NIO. [3] The idea of this project is to come up with similar inbound and > connector for ftp/sftp protocol. > > Also please confirm that you are a full time student and currently not > employed since it is against GSoC rules. > > [1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol > [2] https://store.wso2.com/store/assets/esbconnector/details > /48bab332-c6a6-4f5a-9b79-17e29c7ad4c6 > [3] https://store.wso2.com/store/assets/esbconnector/details > /9ac7accf-6535-46c2-853e-9ca75c23cdef > > On Tue, Feb 28, 2017 at 7:53 AM, Chanaka Lakmal > wrote: > >> Hi, >> >> I'm interested in the project *Native inbound and connector for FTP/SFTP >> operations*. I would like to know more information regarding this. >> >> I am Chanaka Lakmal, an final year undergraduate from Department of >> Computer Science and Engineering, University of Moratuwa. I have the basic >> knowledge on Java NIO, File Systems and I have been working with ESB and >> connectors. >> >> Initially I went through following [1] to understand about File Inbound >> Protocol and I would like to know more about this project, especially on >> the expected outcomes and the scope of the project. >> >> [1] - https://docs.wso2.com/display/ESB490/File+Inbound+Protocol >> >> Thank you. >> >> Best Regards. >> >> *Chanaka Lakmal,* >> Undergraduate B.Sc.Eng.(Hons.) >> Department of Computer Science & Engineering, >> University of Moratuwa, >> Sri Lanka. >> >> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > Best Regards, > > Malaka Silva > Associate Director / Architect > M: +94 777 219 791 <077%20721%209791> > Tel : 94 11 214 5345 > Fax :94 11 2145300 <011%202%20145300> > Skype : malaka.sampath.silva > LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 > Blog : http://mrmalakasilva.blogspot.com/ > > WSO2, Inc. > lean . enterprise . middleware > https://wso2.com/signature > http://www.wso2.com/about/team/malaka-silva/ > <http://wso2.com/about/team/malaka-silva/> > https://store.wso2.com/store/ > > Don't make Trees rare, we should keep them with care > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
[Adding possible mentors] Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> On Tue, Feb 28, 2017 at 7:53 AM, Chanaka Lakmal wrote: > Hi, > > I'm interested in the project *Native inbound and connector for FTP/SFTP > operations*. I would like to know more information regarding this. > > I am Chanaka Lakmal, an final year undergraduate from Department of > Computer Science and Engineering, University of Moratuwa. I have the basic > knowledge on Java NIO, File Systems and I have been working with ESB and > connectors. > > Initially I went through following [1] to understand about File Inbound > Protocol and I would like to know more about this project, especially on > the expected outcomes and the scope of the project. > > [1] - https://docs.wso2.com/display/ESB490/File+Inbound+Protocol > > Thank you. > > Best Regards. > > *Chanaka Lakmal,* > Undergraduate B.Sc.Eng.(Hons.) > Department of Computer Science & Engineering, > University of Moratuwa, > Sri Lanka. > > [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations
Hi, I'm interested in the project *Native inbound and connector for FTP/SFTP operations*. I would like to know more information regarding this. I am Chanaka Lakmal, an final year undergraduate from Department of Computer Science and Engineering, University of Moratuwa. I have the basic knowledge on Java NIO, File Systems and I have been working with ESB and connectors. Initially I went through following [1] to understand about File Inbound Protocol and I would like to know more about this project, especially on the expected outcomes and the scope of the project. [1] - https://docs.wso2.com/display/ESB490/File+Inbound+Protocol Thank you. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal> ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev