[Dev] [EMM] [Android] Shall we update the Client .apk of source repo?

2016-04-14 Thread Dilan Udara Ariyaratne
Hi Folks,
(Adding KasunD, Milan)

It seems that the android client .apk file of the product-emm source repo
has not been
updated for a while and the last update had been 4 months before.

Since then, there have been so many updates to the agent source.
But it seems that we have not updated the .apk file of the following
location
with an updated version.

https://github.com/wso2/product-emm/tree/master/modules/apps/jaggery/emm-web-agent/src/emm-web-agent/units/asset-download-agent-android/public/asset

Thus, bringing up the concern of $subject.

Thanks.

*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94766405580 <%2B94766405580>
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: [EMM 2.1.0] [Device Analytics] Obtaining 'No-Passcode' & 'No-Encryption' states via Device Info

2016-04-14 Thread Dilan Udara Ariyaratne
Hi Dilshan / Inosh,

Any update from iOS side?

Thanks,
Dilan.

*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. 
Mobile: +94766405580 <%2B94766405580>
lean . enterprise . middleware


On Fri, Apr 8, 2016 at 10:41 AM, Hasunie Adikari  wrote:

> Hi Dilan,
>
> Passcode state and encryption state can be retrieved from windows device
> also.We have already taken those information while applying passcode
> related policies to the device.
>
> On Thu, Apr 7, 2016 at 6:31 PM, Kasun Dananjaya Delgolla 
> wrote:
>
>> Hi Dilan,
>>
>> It's possible on android. We can simply check it via device policy
>> manager and attach it to device info payload. Also it should be possible on
>> iOS. But we will have to check on Windows. @Hasunie - Any input on this?
>>
>> Thanks
>> On Apr 7, 2016 6:27 PM, "Dilan Udara Ariyaratne"  wrote:
>>
>>> Adding KasunD, Milan, InoshP, Dilshan and Hasunie to the thread...
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94766405580 <%2B94766405580>
>>> lean . enterprise . middleware
>>>
>>>
>>> -- Forwarded message --
>>> From: Dilan Udara Ariyaratne 
>>> Date: Thu, Apr 7, 2016 at 6:23 PM
>>> Subject: [Dev] [EMM 2.1.0] [Device Analytics] Obtaining 'No-Passcode' &
>>> 'No-Encryption' states via Device Info
>>> To: WSO2 Developers' List 
>>>
>>>
>>> Hi Folks,
>>>
>>> Is there currently any possibility of retrieving the following states
>>> via device-info capturing task of EMM for all mobile platforms, i.e.
>>> Android, iOS and Windows ?
>>>
>>> [1] No-Passcode state - This could carry the value of either true or
>>> false and express whether the device is currently having a passcode or not
>>> [2] No-Encryption state - This could also carry the value of either true
>>> or false and express whether the device data is currently encrypted or not
>>>
>>> If we can obtain these data, there lies the possibility of showing
>>> related analytics (See Following Figure) on Device Dashboard page for EMM
>>> administrators
>>> which is currently considered as a useful requirement.
>>>
>>>
>>>
>>>
>>> Thanks.
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94766405580 <%2B94766405580>
>>> lean . enterprise . middleware
>>>
>>>
>>>
>
>
> --
> *Hasunie Adikari*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> blog http://hasuniea.blogspot.com
> Mobile:+94715139495
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Purpose of methods starting with "jsFunction" with respect to Jaggery Application

2016-04-14 Thread Manuranga Perera
This is a feature coming form Mozilla Rhino. These method will become
callable form JavaScript (Jaggery)  directly (ie: without using full java
name). When calling from JavaScript you have to use the name after
"jsFunction_"

[1]
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Embedding_tutorial#JavaScript_host_objects

On Tue, Apr 12, 2016 at 11:37 AM, Megala Uthayakumar 
wrote:

>
> Hi all,
>
> I am trying to access a method in java class from a simple jaggery
> application. In the repository jaggery, there are many methods that starts
> with jsFunction [1]. They are quite different from the normal java methods
> with regards to jaggery application. Could someone help me in understanding
> how those methods can be called effectively from a jaggery application ?
>
> [1]
> https://github.com/wso2/jaggery/blob/master/components/hostobjects/org.jaggeryjs.hostobjects.web/src/main/java/org/jaggeryjs/hostobjects/web/RequestHostObject.java
>
>
> Thanks.
>
> Regards,
> Megala
>
> Megala Uthayakumar
>
> Software Engineer
> Mobile : 0779967122
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Identity Server 5.2.0 Beta Released

2016-04-14 Thread Pushpalanka Jayawardhana
WSO2 Identity Server 5.2.0 Beta Released !!!Date: 14th April 2016The WSO2
Identity Server team is pleased to announce the release of WSO2 Identity
Server 5.2.0 Beta. You can download this distribution from
https://github.com/wso2/product-is/releases/tag/v5.2.0-beta

Following list [1] contains all bug fixes and improvements available with
beta release. We encourage you to report issues, improvements and feature
requests regarding WSO2 Identity Server through the public WSO2 Identity
Server JIRA 

~ The WSO2 Identity Server Team ~

[1] Release Notes - WSO2 Identity Server - Version 5.2.0-Beta Fixes


Bugs

   - IDENTITY-4505 
   TenantDataManager string comparison error
   - IDENTITY-4502  Bug when
   SAMLSSOProviderServlet.sendResponse and
   SAMLSSOProviderServlet.sendRequestToFramework
   - IDENTITY-4490  Passive STS
   not working after opensaml upgrade
   - IDENTITY-4489  Conflict of
   commons-code versions in playground sample
   - IDENTITY-4487  Trying to
   select attributes during Policy creation leads to a blank page
   - IDENTITY-4484  A user can
   retrieve the authorization code even when plain challenge method is not
   supported
   - IDENTITY-4480  Need to
   upgrade neethi version from 2.0.4.wso2v4 to 2.0.4.wso2v5
   - IDENTITY-4479  PKCE code
   challenge is not generated when shifting between the challenge methods
   - IDENTITY-4478  Cannot
   retrieve the access token when PKCE is enabled
   - IDENTITY-4475 
   org.wso2.carbon.identity.workflow.mgt.bps.stub is missing in new extensions
   repo structure
   - IDENTITY-4474  Migration
   scripts for 5.2.0
   - IDENTITY-4472  Workflow
   Component should not rely on System properties for Mutual SSL Communication
   - IDENTITY-4466  Exception
   is logged in wso2carbon.log when the sts service is invoked.
   - IDENTITY-4465  Can't
   install "org.wso2.carbon.identity.provisioning.connector.salesforce.server"
   feature
   - IDENTITY-4462  A secondary
   user store is not listed under the Count Users domain
   - IDENTITY-4458  IWA carbon
   authenticator does not check disabled property in authenticators.xml
   - IDENTITY-4457  Cannot
   retrieve the count for matching filters - User Store Count functionality
   - IDENTITY-4448  Multiple
   roles are not returned in the SAML response - when service provider and the
   user are from different tenants
   - IDENTITY-4445  Remove
   dependency to org.wso2.carbon.identity.authenticator.saml2.sso from
   org.wso2.carbon.identity.sso.saml
   - IDENTITY-4439  Add remote
   user store feature into identity-userstore-remote repo
   - IDENTITY-4438 
   IDENTITY-3729 Add git revision to jar manifests
   - IDENTITY-4416  User info
   missing in id_token for implicit grant when requested claims are added
   - IDENTITY-4414  Add IDP UI
   not working
   - IDENTITY-4405  The default
   challenge questions are not displayed in account recovery page for tenant
   domain.
   - IDENTITY-4402  Updates
   done to a disabled user account are not saved even though a successful
   message is displayed to the user
   - IDENTITY-4400  Email
   generated says the account is disabled by Admin when it is disabled by a
   different user
   - IDENTITY-4399  Admin's
   account can be disabled and cannot be enabled again
   - IDENTITY-4397  NPE in SAML
   SSO for service provider registerd in tenant domain
   - IDENTITY-4387  Returning
   an array in sub-Claim on ID-Token
   - IDENTITY-4383  Custom
   Response Type Validator class is not read under SupportedGrantTypes in
   Identity.xml
   - IDENTITY-4381 
   NullPointerException could happen in 

Re: [Dev] How do I use enrich mediator with JSON payload in ESB 4.9.0?

2016-04-14 Thread Rajkumar Rajaratnam
On Tue, Mar 1, 2016 at 6:21 AM, Praneesha Chandrasiri 
wrote:

> Hi all,
>
>
> I removed Enrich Mediator from the list, which includes mediators that
> have JSON support in docs of ESB 4.9.0 and above, as for example in [1].
>

​I hope Shafreen mentioned none of the mediators in this list has native
JSON support, not just enrich mediator.

> Also, I resolved the JIRA in [2].
>
> [1] https://docs.wso2.com/display/ESB500/JSON+Support
>
> [2] https://wso2.org/jira/browse/DOCUMENTATION-2299
>
> Thanks everyone!
>
> On Tue, Mar 1, 2016 at 10:21 AM, Shafreen Anfar  wrote:
>
>> Hi Doc team,
>>
>> I think we need to remove this section from the aforementioned document.
>> AFAIK, none of the mediators mentioned below support native json.
>>
>> @Others : Please correct me if am wrong :)
>>
>> Mediators with native JSON support
>>
>> Native JSON manipulation is supported for the following mediators.
>>
>>- Enrich mediator
>>- Iterate mediator
>>- Aggregate mediator
>>- Clone mediator
>>
>> When JSON is used only the expressions of the above mediator
>> configurations differ from the xml configuration.
>>
>> On Tue, Mar 1, 2016 at 10:13 AM, Shafreen Anfar 
>> wrote:
>>
>>> Hi Rajkumar,
>>>
>>> It seems there is no such native json support in Enrich mediator. Will
>>> update the document. Sorry for the inconvenience.
>>>
>>> On Tue, Mar 1, 2016 at 1:26 AM, Rajkumar Rajaratnam 
>>> wrote:
>>>


 On Mon, Feb 29, 2016 at 7:54 PM, Rajkumar Rajaratnam <
 rajkum...@wso2.com> wrote:

> Hi,
>
> Doc [1] says enrich mediator supports native JSON manipulation. Does
> that mean I can modify the JSON payload using enrich mediator? How do I do
> that? Couldn't find any doc or blog.
>
> [1] https://docs.wso2.com/display/ESB490/JSON+Support
>
> Thanks,
> Raj.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



 --
 Rajkumar Rajaratnam
 Committer & PMC Member, Apache Stratos
 Software Engineer, WSO2

 Mobile : +94777568639
 Blog : rajkumarr.com

>>>
>>>
>>>
>>> --
>>> Regards,
>>> *Shafreen*
>>> Software Engineer
>>> WSO2 Inc
>>> Mobile : 077-556-395-1
>>>
>>
>>
>>
>> --
>> Regards,
>> *Shafreen*
>> Software Engineer
>> WSO2 Inc
>> Mobile : 077-556-395-1
>>
>
>
>
> --
> Thanks & Best Regards,
> *Praneesha Chandrasiri*
> *Technical Writer*
> *WSO2 Inc. *
> *Mobile: +(94) 718156888 <%2B%2894%29%20718156888>*
> *E-mail: pranee...@wso2.com *
>
>


-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blogs : wso2tech.blogspot.com, wso2tech.wordpress.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Product-jaggery build failure

2016-04-14 Thread Manuranga Perera
Looping Tanya and Sinthuja
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Product-jaggery build failure

2016-04-14 Thread Fazlan Nazeem
Hi,

product-jaggery[1] build seems to fail because of the outdated i18n
version. The current i18n snapshot version is 1.5.3-SNAPSHOT whereas the
product-jaggery repo still depends on 1.4.4-SNAPSHOT which is not available
in nexus. Error is copied below.

[INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
p2-profile-gen ---
[ERROR] Error occured when processing the Feature Artifact:
org.jaggeryjs.modules:i18n.feature:1.4.4-SNAPSHOT
org.apache.maven.plugin.MojoExecutionException: Error occured when
processing the Feature Artifact:
org.jaggeryjs.modules:i18n.feature:1.4.4-SNAPSHOT
at
org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322)
at
org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197)
at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: ERROR
at
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43)
at
org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:319)
... 24 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Failure to find org.jaggeryjs.modules:i18n.feature:zip:1.4.4-SNAPSHOT in
http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
local repository, resolution will not be reattempted until the update
interval of wso2-nexus has elapsed or updates are forced


[1] https://github.com/wso2/product-jaggery
-- 
Thanks & Regards,

Fazlan Nazeem

*Software Engineer*

*WSO2 Inc*
Mobile : +94772338839
<%2B94%20%280%29%20773%20451194>
fazl...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev