Re: [Dev] P2 Tooling URL

2018-10-03 Thread Dakshika Jayathilaka
Hi,

Can you try with the latest 6.4.0 RC1 on EI tooling(with Java 1.8)

https://github.com/wso2/product-ei/releases/download/v6.4.0-rc1/developer-studio-ei-eclipse-jee-oxygen-macosx-cocoa-x86_64-6.4.0-rc1.dmg

Also, we are no longer maintaining  P2 for the latest releases. This
release has many improvements in the tooling aspect.

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Associate Technical Lead
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Thu, Oct 4, 2018 at 9:20 AM Rajith Siriwardena  wrote:

> + Adding dev for a wider audience.
>
> Thanks,
> Rajith
>
>
> On Wed, Oct 3, 2018 at 11:00 PM Wes Holmstrom <
> wes.holmst...@visualintegrator.com> wrote:
>
>> So I re-installed everything under the 6.2 version, and that worked
>> perfectly.  The tooling developer/eclipse dmg file opened and installed
>> just fine.
>>
>>
>> You might pass on to the release team that the 6.3 tooling dmg for
>> MacOS is corrupt or needs following up.
>>
>>
>> Regards,
>>
>> Wes Holmstrom
>>
>>
>>
>> Wes Holmstrom
>>
>> *Architect*
>>
>> *Visual Integrator Consulting*
>>
>> M:
>>
>> 303-960-6383 W: www.visualintegrator.com
>>
>>
>>
>> *The **API **Experts!*
>>
>> --
>> *From:* Wes Holmstrom
>> *Sent:* Wednesday, October 3, 2018 8:49:02 AM
>> *To:* Rajith Siriwardena
>> *Cc:* Janaka Ranabahu; Miyuru Wanninayaka
>> *Subject:* Re: P2 Tooling URL
>>
>>
>> Hi Rajjith,
>>
>> Thanks for the insight.  I actually already tried that first, the MacOS
>> dmg file throws an error when i try to run it.  I've tried doing a sudo and
>> mounting this as root, but still get the same exception.  Downloaded it and
>> tried it 3 times.  Any ideas?
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>> Wes Holmstrom
>>
>>
>>
>> Wes Holmstrom
>>
>> *Architect*
>>
>> *Visual Integrator Consulting*
>>
>> M:
>>
>> 303-960-6383 W: www.visualintegrator.com
>>
>>
>>
>> *The **API **Experts!*
>>
>> --
>> *From:* Rajith Siriwardena 
>> *Sent:* Wednesday, October 3, 2018 2:21:37 AM
>> *To:* Wes Holmstrom
>> *Cc:* Janaka Ranabahu; Miyuru Wanninayaka
>> *Subject:* Re: P2 Tooling URL
>>
>> Hi Wes,
>>
>> Select the EI version you require from here
>> https://wso2.com/integration/previous-releases/ and you should be able
>> to find "Install from P2 repository" for tooling.
>> For version 6.2.0:
>> https://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/ei-tools/releases/6.2.0/
>>
>> You can find the installation directions for EI version 6.2.0
>> from
>> https://docs.wso2.com/display/EI620/Installing+Enterprise+Integrator+Tooling
>>
>> From EI version 6.3.0 onwards, you have to use the pre-packaged eclipse:
>>
>> https://docs.wso2.com/display/EI630/Installing+Enterprise+Integrator+Tooling
>>
>>
>> Thanks,
>> Rajith
>>
>>
>> On Wed, Oct 3, 2018 at 1:17 AM Wes Holmstrom <
>> wes.holmst...@visualintegrator.com> wrote:
>>
>> Hello,
>>
>> Can someone provide me the P2 Repository URL?  I need to install the EI
>> Tooling set for MacOS from within eclipse, and the website keeps giving me
>> the run around.
>>
>>
>> Regards,
>>
>> Wes Holmstrom
>>
>>
>>
>> Wes Holmstrom
>>
>> *Architect*
>>
>> *Visual Integrator Consulting*
>>
>> M:
>>
>> 303-960-6383 W: www.visualintegrator.com
>>
>>
>>
>> *The **API **Experts!*
>>
>>
>>
>> --
>> *Rajith Siriwardana*
>> WSO2 Inc. | http://wso2.com
>> *lean. enterprise. middleware*
>>
>> ---
>> *https://home.apache.org/~siriwardana
>> *
>>
>>
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, re-transmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
> --
> *Rajith Siriwardana*
> WSO2 Inc. | http://wso2.com
> *lean. enterprise. middleware*
>
> ---
> *https://home.apache.org/~siriwardana
> *
>
>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The 

Re: [Dev] P2 Tooling URL

2018-10-03 Thread Rajith Siriwardena
+ Adding dev for a wider audience.

Thanks,
Rajith


On Wed, Oct 3, 2018 at 11:00 PM Wes Holmstrom <
wes.holmst...@visualintegrator.com> wrote:

> So I re-installed everything under the 6.2 version, and that worked
> perfectly.  The tooling developer/eclipse dmg file opened and installed
> just fine.
>
>
> You might pass on to the release team that the 6.3 tooling dmg for
> MacOS is corrupt or needs following up.
>
>
> Regards,
>
> Wes Holmstrom
>
>
>
> Wes Holmstrom
>
> *Architect*
>
> *Visual Integrator Consulting*
>
> M:
>
> 303-960-6383 W: www.visualintegrator.com
>
>
>
> *The **API **Experts!*
>
> --
> *From:* Wes Holmstrom
> *Sent:* Wednesday, October 3, 2018 8:49:02 AM
> *To:* Rajith Siriwardena
> *Cc:* Janaka Ranabahu; Miyuru Wanninayaka
> *Subject:* Re: P2 Tooling URL
>
>
> Hi Rajjith,
>
> Thanks for the insight.  I actually already tried that first, the MacOS
> dmg file throws an error when i try to run it.  I've tried doing a sudo and
> mounting this as root, but still get the same exception.  Downloaded it and
> tried it 3 times.  Any ideas?
>
>
>
>
>
>
> Regards,
>
> Wes Holmstrom
>
>
>
> Wes Holmstrom
>
> *Architect*
>
> *Visual Integrator Consulting*
>
> M:
>
> 303-960-6383 W: www.visualintegrator.com
>
>
>
> *The **API **Experts!*
>
> --
> *From:* Rajith Siriwardena 
> *Sent:* Wednesday, October 3, 2018 2:21:37 AM
> *To:* Wes Holmstrom
> *Cc:* Janaka Ranabahu; Miyuru Wanninayaka
> *Subject:* Re: P2 Tooling URL
>
> Hi Wes,
>
> Select the EI version you require from here
> https://wso2.com/integration/previous-releases/ and you should be able to
> find "Install from P2 repository" for tooling.
> For version 6.2.0:
> https://product-dist.wso2.com/p2/developer-studio-kernel/4.1.0/ei-tools/releases/6.2.0/
>
> You can find the installation directions for EI version 6.2.0
> from
> https://docs.wso2.com/display/EI620/Installing+Enterprise+Integrator+Tooling
>
> From EI version 6.3.0 onwards, you have to use the pre-packaged eclipse:
>
> https://docs.wso2.com/display/EI630/Installing+Enterprise+Integrator+Tooling
>
>
> Thanks,
> Rajith
>
>
> On Wed, Oct 3, 2018 at 1:17 AM Wes Holmstrom <
> wes.holmst...@visualintegrator.com> wrote:
>
> Hello,
>
> Can someone provide me the P2 Repository URL?  I need to install the EI
> Tooling set for MacOS from within eclipse, and the website keeps giving me
> the run around.
>
>
> Regards,
>
> Wes Holmstrom
>
>
>
> Wes Holmstrom
>
> *Architect*
>
> *Visual Integrator Consulting*
>
> M:
>
> 303-960-6383 W: www.visualintegrator.com
>
>
>
> *The **API **Experts!*
>
>
>
> --
> *Rajith Siriwardana*
> WSO2 Inc. | http://wso2.com
> *lean. enterprise. middleware*
>
> ---
> *https://home.apache.org/~siriwardana
> *
>
>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>


-- 
*Rajith Siriwardana*
WSO2 Inc. | http://wso2.com
*lean. enterprise. middleware*

---
*https://home.apache.org/~siriwardana
*



Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Custom captcha with WSO2 Identity Server

2018-10-03 Thread Jorge
Hi all.

Can I use an offline captcha with WSO2 Identity Server if my servers cannot
connect to the internet? In the password recovery process I see that IS use
re-captcha, which requires access to google servers.

Regards,
   Jorge.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Upgrading C4 OSGi to support Java 10

2018-10-03 Thread Selvaratnam Uthaiyashankar
Great!. Thanks for the update.

On Wed, Oct 3, 2018 at 11:22 AM Tharindu Wijewardane 
wrote:

> Hi all,
>
> With the help of eclipse community I got to know that they have removed
> org.eclipse.osgi.service.resolver.PlatformAdmin service from the osgi
> framework in Luna version and adding the
> bundle: org.eclipse.osgi.compatibility.state to Carbon runtime feature
> fixed the missing service issue. Now All the bundles which are in active
> state with java 8 are in Active state with java 10 too.
>
> Also the issue with CarbonConsoleAppender (NoClassDefFoundError: Could not
> initialize class CarbonContextDataHolder) could be fixed by adding
> deprecated javax classes back to the classpath. It fixed some other similar
> issues which ware due to the missing javax.activation and javax.xml classes.
> Now the logs are printed on the osgi terminal using the
> CarbonConsoleAppender itself.
>
> Now the only remaining issue with Carbon kernel (as it seems) is a set of
> tomcat exceptions. I am currently working on it.
>
> Thanks
>
> On Thu, Sep 27, 2018 at 3:01 PM Tharindu Wijewardane 
> wrote:
>
>> Hi all,
>>
>> The logs were not getting printed because following exception is thrown
>> through CarbonConsoleAppender.
>>
>> "NoClassDefFoundError: Could not initialize class
>> CarbonContextDataHolder"
>>
>> CarbonContextDataHolder has a set of javax.naming* imports and since java
>> 10 has deprecated using them I added jndi jar which contains those classes
>> in to a folder inside the pack and modifies the wso2server.sh to add those
>> to the classpath. Also I added the jars in endorsed dir to the classpath
>> since extension class loader is not present in jdk 10 and classes in
>> endorsed dir location is not automatically loaded.
>> Still I could not solve the above issue and decided to use the default
>> log4j ConsoleAppender instead of CarbonConsoleAppender for now.
>>
>> When I compare the carbon kernel bundles in Active state in java 8 and
>> java 10 environments I noticed following bundles are not activated in java
>> 10 env.
>>
>> org.wso2.carbon.base
>> org.wso2.carbon.core
>> org.wso2.carbon.logging
>> org.wso2.carbon.user.core
>>
>> When diagnosed following issue is printed for all of them.
>>
>> IllegalStateException: Missing service:
>> org.eclipse.osgi.service.resolver.PlatformAdmin
>>
>> Currently I am trying to fix that issue. Not much information is
>> available in the community on that and I have posted it in eclipse forums.
>>
>> Thanks
>>
>> On Fri, Sep 21, 2018 at 5:35 PM Tharindu Wijewardane 
>> wrote:
>>
>>> Hi all,
>>>
>>> I was able to fix the previous issue (some osgi services were not found)
>>> by changing tycho/sisu p2 dependency versions of carbon p2 plugin to the
>>> versions used in carbon feature plugin.
>>> Then there were issues installing features which includes bundles from
>>> identity server related dependencies
>>> (carbon-identity, carbon-identity-framework, ...). I have to upgrade the
>>> osgi platform of those as well but I commented out those features for now
>>> (only 3 feature groups) and went ahead trying to get the APIM server
>>> started first.
>>>
>>> I could start the APIM framework on java 10 without those features but
>>> the mgt console URL was not accessible possibly due to incompatibilities of
>>> tomcat7 with java 10. Also there wasn't any error logs printed. As Ruwan
>>> has previously mentioned in another mail thread, existing logging mechanism
>>> in C4 is not compatible with java 10. As his instructions I will try to get
>>> the logger working first.
>>>
>>> Thanks
>>>
>>> On Wed, Sep 12, 2018 at 12:44 PM Tharindu Wijewardane <
>>> tharin...@wso2.com> wrote:
>>>
 Hi all,

 I am trying to build APIM 2.x branch with modified versions of
 following dependencies (with upgraded osgi and some plugins)


 carbon-apimgt  version 6.4.27 (6.x branch)

 carbon-kernel version 4.4.35 (4.4.x branch)

 carbon-metrics version 1.2.4 (1.x.x branch)
 carbon p2 plugin version 1.6.1

 Originally APIM 2.x branch depended on carbon-apimgt 6.4.17 and 
 carbon-metrics
 1.2.3 and carbon p2 plugin 1.5.4.
 I chose the above branches because they had artifact versions closer to
 the existing versions and for avoiding build errors I got when trying out
 different branches.
 Please let me know if there is a better way to select the branches.

 Currently I am having issues building P2 profile generation module of
 APIM. Please see the following error.


 *Cannot complete the install because one or more required items could
 not be found. Software being installed: WSO2 Carbon - API Publisher Feature
 6.4.27.1 (org.wso2.carbon.apimgt.publisher.feature.group 6.4.27.1) Missing
 requirement: org.wso2.carbon.apimgt.hostobjects 6.4.27.1
 (org.wso2.carbon.apimgt.hostobjects 6.4.27.1) requires 'osgi.service;
 (objectClass=org.wso2.carbon.user.core.service.RealmService)' but 

[Dev] Encryption and decryption in file transfer

2018-10-03 Thread Aman Singh
Hi All,

I am using SFTP to transfer a file placed on my server to my local machine.
I am successfully able to transfer it. I want to use encryption and
decryption to transfer my securely, like using some public/private key to
do that.  Is this possible?
How can I achieve this?

Thank you,
Aman.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IAM] - Getting User Consents using Browserless Clients

2018-10-03 Thread Winma Heenatigala
Thank you !

On Fri, Sep 28, 2018 at 12:35 PM Isura Karunaratne  wrote:

>
>
> On Fri, Sep 28, 2018 at 12:16 PM Winma Heenatigala  wrote:
>
>> Hi all,
>>
>> I am working on my project to implement SAML ECP(Enhanced Client or
>> proxy) profile for WSO2 Identity Server.
>>
>> In contrast to the SAML Web based SSO, SAML ECP profile is related to
>> browserless clients. The following diagram shows how the message flow
>> happens.
>>
>>
>>
>>
>> For testing purposes I needed an ECP enabled Service Provider and a
>> client. For that, I used Shibboleth SP and a Simple Bash client[1] provided
>> by Shibboleth.
>>
>> I created a new Servlet called SAMLECPProviderServlet to capture the SOAP
>> bound SAML authentication request sent by the Enhanced Client. The basic
>> auth credentials (username and password) were sent by the client to the IDP
>> in the HTTP request authorization header. Using a request wrapper, basic
>> auth credentials were set to the sectoken parameter, the saml request was
>> extracted from the soap envelope and forwarded the new request to the
>> SAMLSSOProviderServlet. Then the request could process in the way that the
>> Request Path Authenticator works. Inside the SAMLSSOServlet, for the
>> requests from the ECP clients, a separate response was created where the
>> saml response was enclosed in a soap envelope.
>>
>> Since the client is browserless there is an issue in providing user
>> consents. I am looking for a way that our identity server can use to get
>> consents from the users without using the browser. (using the bash
>> client).Your valued suggestions are highly appreciated.
>>
>
> IMO, We have to do the consent management from the application side. Since
> the ECP client is not browser based, there is no way to handle the consents
> from the Identity Server at the moment.
>
> Thanks
> Isura.
>
>
>> Thank you!
>>
>> --
>>
>> *Winma Heenatigala*
>> *Trainee Software Engineer | WSO2*
>>
>> *Mobile : +94719132444*
>>
>>
>>
>>
>
> --
>
> *Isura Dilhara Karunaratne*
> Associate Technical Lead | WSO2 
> *lean.enterprise.middleware*
> Email: is...@wso2.com
> Mob : +94 772 254 810
> Blog : http://isurad.blogspot.com/
>
>
>
>

-- 

*Winma Heenatigala*
*Trainee Software Engineer | WSO2*

*Mobile : +94719132444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev