Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Indunil Upeksha Rathnayake
Hi, Thanks all for your responses. Yes in my case it doesn't need to convert boolean to string. But if needed, as sajith mentioned, seems like have to import that class in the script with Java.type Nashorn extension. Thanks and Regards On Fri, Jan 20, 2017 at 10:52 AM, SajithAR Ariyarathna

Re: [Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Farasath Ahamed
Farasath Ahamed Software Engineer, WSO2 Inc.; http://wso2.com Mobile: +94777603866 Blog: blog.farazath.com Twitter: @farazath619 On Fri, Jan 20, 2017 at 10:59 AM, Nuwandi Wickramasinghe wrote: > In the request

[Dev] [IS] Resident IDP update fails due to new authenticator in IS-5.2.0 for a migrated IS from 5.1.0 to 5.2.0

2017-01-19 Thread Sajith Abeywardhana
Hi All, A new authenticator was introduced in an IS-5.2.0 as "openidconnect", but there was no such authenticator in IS-5.1.0. If we migrate the IS-5.1.0 to IS-5.2.0 there is no such a migration step to update the existing tenets with this new authenticator. As a result of that, if we try to

Re: [Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Nuwandi Wickramasinghe
In the request parameters in the curl command, *password=test%26grant_type=password* there's no parameter seperation between password and grant_type. Was this the same command you sent? On Fri, Jan 20, 2017 at 10:48 AM, Maduranga Siriwardena wrote: > I tried password grant

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread SajithAR Ariyarathna
Hi Indunil, Seems like the problem is in your script. Boolean.toString(claimForProfile[i].getRequired()) I believe your intention here is to call java.lang.Boolean#toString(boolean b) method, right? But Nashorn doesn't know that, because you haven't imported java.lang.Boolean class in your

Re: [Dev] Getting blank page while verifying the Duo Security authenticator with IS 5.3.0

2017-01-19 Thread Thulasika Vijayanathan
Please ignore the above mentioned tested versions. I tested with IS 5.1.0 , 5.2.0 and 5.3.0. On Fri, Jan 20, 2017 at 9:08 AM, Thulasika Vijayanathan wrote: > Hi Malaka, > > I already fixed and checked with previous versions(5.0.1, 5.0.2, 5.0.3). > It works fine with all

Re: [Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Maduranga Siriwardena
I tried password grant type with a user having "&" character for the password. If I enter the password to the curl command after url encoding, it worked fine for me. Can you see any error log in backend? Try enabling debug logs for the packages org.wso2.carbon.identity.oauth and

[Dev] Invalid grant for url encoded password parameter in auth token request

2017-01-19 Thread Sameera Gunarathne
Hi all, I am trying to get auth token from '/oauth2/token' endpoint using following request which accesses oauth2 webapp deployed from identity-inbound-auth-oauth extension in EMM. curl -k -d "username=test_user=default appm:read device:android:enroll device:android:event:manage

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread SajithAR Ariyarathna
Hi Indunil, > > claimProfileMap["required"] = Boolean.toString(claimForProfile[i]. > getRequired()); > I don't see a particular reason to convert boolean to string. You can just use the boolean value directly. Anyhow, we will fix this. Thanks. On Fri, Jan 20, 2017 at 7:47 AM, Indunil Upeksha

Re: [Dev] Please review and merge

2017-01-19 Thread Maheshika Goonetilleke
Hi Kishanthan Yes we have already configured auto release for this job. On Thu, Jan 19, 2017 at 11:44 PM, Kishanthan Thangarajah < kishant...@wso2.com> wrote: > Hi Maheshika, > > Have we enabled auto release for carbon-deployment 4.7.x branch [1]? If > not, we have to enable it. > > [1]

Re: [Dev] Getting blank page while verifying the Duo Security authenticator with IS 5.3.0

2017-01-19 Thread Thulasika Vijayanathan
Hi Malaka, I already fixed and checked with previous versions(5.0.1, 5.0.2, 5.0.3). It works fine with all versions.I released and published in the store as well. Thanks, Thulasika. On Fri, Jan 20, 2017 at 5:35 AM, Malaka Silva wrote: > Shall we fix. We need to, > > >1.

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Indunil Upeksha Rathnayake
Hi, The code segment I have used as follows. function getProfile() { var claimProfile; try { // Get Claim Profile claimProfile = callOSGiService("org.wso2.is.portal.user.client.api.ProfileMgtClientService", "getProfile", ["self-signUp"]); } catch(e) {

Re: [Dev] Wso2IS info recovery sample

2017-01-19 Thread Isura Karunaratne
Hi, What is the IS version you are using? In IS 5.3.0, ask password feature is supported in two ways[1]. If you are using rest based method you can configure configuration tenant wise, otherwise captcha configuration in identity-mgt.properties file will be applied to all tenants. [1]

Re: [Dev] [devicemgt-plugins] Nexus: Promotion Completed

2017-01-19 Thread Rasika Perera
Hi KasunG, We have created separate branch(release-3.0.x) from "master" to continue work on IoT and EMM parallely. CD for this branch didn't work due to some issues may be due to releasing on top of a custom branch other than "master". We will merge this "release-3.0.x" branch with "master" after

Re: [Dev] Getting blank page while verifying the Duo Security authenticator with IS 5.3.0

2017-01-19 Thread Malaka Silva
Shall we fix. We need to, 1. Verify the fix with previous versions. 2. Update the store to mention that it supports IS 510, 520 and 530 @Thulasika - Please check this after doc-sign. On Thu, Jan 19, 2017 at 9:17 AM, Thulasika Vijayanathan wrote: > Hi Nuwandi, > >

Re: [Dev] Please review and merge

2017-01-19 Thread Kishanthan Thangarajah
Hi Maheshika, Have we enabled auto release for carbon-deployment 4.7.x branch [1]? If not, we have to enable it. [1] https://github.com/wso2/carbon-deployment/tree/4.7.x On Thu, Jan 19, 2017 at 6:39 PM, Kishanthan Thangarajah wrote: > This is merged. > > On Thu, Jan 19,

Re: [Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Kishanthan Thangarajah
On Thu, Jan 19, 2017 at 2:03 PM, Johann Nallathamby wrote: > Hi Danushka, > > Did you see [1]? The thread talks about a single config file for the most > commonly changed config files. However the thread doesn't seem to have a > conclusion. > > @Kernel Team, > Is this something

Re: [Dev] [UUF] [IS] Support for refresh fragments in a page

2017-01-19 Thread Manuranga Perera
Hi All, I think this is soming we need to take a close a look at. I assume we are loading all the fragments and using front end js hiding some? Is it Indunil? If so it can we use the menu feature in UUF to implement it? On Thu, Jan 19, 2017 at 2:12 PM, Thusitha Kalugamage

Re: [Dev] Wso2IS info recovery sample

2017-01-19 Thread Nuwandi Wickramasinghe
Hi, Are you using ReadOnlyLdapUserStore in super tenant as well? About the second query, changes done in identity-mgt.properties file are applied to all the tenants. regards Nuwandi On Wed, Jan 11, 2017 at 11:03 PM, Koné Alioune Badara < kon...@etna-alternance.net> wrote: > Hello, > >

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Danushka Fernando
Agree to what Kasun said. Further can we do this case insensitively. Because from Denuwanthi's data it seems like a case issue to me. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jan 19, 2017 at 9:57 PM, KasunG Gajasinghe

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Danushka Fernando
Refer to [1] "White space is not allowed within the tag and all tags are case- insensitive." [1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.10 Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Jan 19, 2017 at

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread SajithAR Ariyarathna
@KasunG We intended 'en-US' as the fall-back locale. But we have done a case-sensitive comparison (basically not doing a case-insensitive comparison) when figuring-out the correct locale. Will fix this soon. On Thu, Jan 19, 2017 at 9:57 PM, KasunG Gajasinghe wrote: > > Using

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Manuranga Perera
> > when sending boolean value as a string(converting boolean to string using > "Boolean.toString()" Not very clear what you are saying here. Can you please show the code. On Thu, Jan 19, 2017 at 4:23 PM, Danushka Fernando wrote: > HI > Seems its calling [1] and [2] is

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread KasunG Gajasinghe
Using the Accept-Language header is fine. But if the header is missing, there should be a fallback mechanism. You should not simply display the key. For our purposes, we can treat en-US as the fallback language. On Thu, Jan 19, 2017 at 8:08 PM, Denuwanthi De Silva wrote: >

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Danushka Fernando
HI Seems its calling [1] and [2] is something its getting called. When we have a boolean as a string probably that happens. But not sure that's expected. [1] https://github.com/google/gson/blob/0636635cbffa08157bdbd558b1212e4d806474eb/gson/src/main/java/com/google/gson/Gson.java#L580 [2]

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Denuwanthi De Silva
Hi Shan, Created a git issue [1]. [1]https://github.com/wso2/carbon-uuf/issues/154 Thanks On Thu, Jan 19, 2017 at 8:07 PM, Shan Mahanama wrote: > Hi Denuwanthi, > > Value of this headers are different in the two browsers. This might be the > cause. We will look into this.

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Shan Mahanama
Hi Denuwanthi, Value of this headers are different in the two browsers. This might be the cause. We will look into this. Can you create a git issue for this at [1]? [1] https://github.com/wso2/carbon-uuf Thanks, Shan. On Thu, Jan 19, 2017 at 7:44 PM, Denuwanthi De Silva

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Indunil Upeksha Rathnayake
Hi, It's returning {"signupClaims": claimProfileArray} from the onRequest() method. claimProfileArray is an array with several map objects. I have just tested and found that this error comes when sending boolean value as a string(converting boolean to string using "Boolean.toString()"). As an

Re: [Dev] [UUF] [IS] Support for refresh fragments in a page

2017-01-19 Thread Thusitha Kalugamage
Hi Indunil, - I'm assuming you are referring to a Local / Form level error message showing and hiding [1]. This has nothing to do with uuf, it's just the way you want to make the element hide after a certain time period or make it hide on a bootstrap tab event [2]. Its a matter of

Re: [Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Shan Mahanama
Hi Denuwanthi, We check the *Accept-Language* header value in the request to identify the locale. Can you check on Safari whether this header is added correctly and it's value is correct? It is possible that in Safari browser, this header is set to some other locale which does not have a

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Kishanthan Thangarajah
We are using gson to serialize the json sent to client [1]. But we need the sample data used here to test what could be the issue. [1]

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Manuranga Perera
I think it's a java object. I think we need to use something like gson here On Thu, Jan 19, 2017 at 1:30 PM, Kishanthan Thangarajah wrote: > Can we have the json object to investigate this? > > On Thu, Jan 19, 2017 at 6:22 PM, SajithAR Ariyarathna >

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Kishanthan Thangarajah
Can we have the json object to investigate this? On Thu, Jan 19, 2017 at 6:22 PM, SajithAR Ariyarathna wrote: > +{UUF Team] > > On Thu, Jan 19, 2017 at 5:34 PM, Indunil Upeksha Rathnayake < > indu...@wso2.com> wrote: > >> Hi, >> >> Having some problem when using

Re: [Dev] Please review and merge

2017-01-19 Thread Kishanthan Thangarajah
This is merged. On Thu, Jan 19, 2017 at 6:07 PM, Malith Munasinghe wrote: > Fixed. > > On Thu, Jan 19, 2017 at 5:39 PM, Kishanthan Thangarajah < > kishant...@wso2.com> wrote: > >> There is a formatting issue in the PR, please fix it. >> >> On Thu, Jan 19, 2017 at 2:22 PM,

Re: [Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread SajithAR Ariyarathna
+{UUF Team] On Thu, Jan 19, 2017 at 5:34 PM, Indunil Upeksha Rathnayake < indu...@wso2.com> wrote: > Hi, > > Having some problem when using sendToClient() method in the UUF Server > Side JS API. I am trying to send an array with a set of map elements as in > [1] including some boolean values.

Re: [Dev] Please review and merge

2017-01-19 Thread Malith Munasinghe
Fixed. On Thu, Jan 19, 2017 at 5:39 PM, Kishanthan Thangarajah wrote: > There is a formatting issue in the PR, please fix it. > > On Thu, Jan 19, 2017 at 2:22 PM, Malith Munasinghe > wrote: > >> Hi All, >> >> Please review and merge [1]. This is used to

[Dev] [UUF] [IS] Support for refresh fragments in a page

2017-01-19 Thread Indunil Upeksha Rathnayake
Hi, In IS user portal, we are including fragments in a page which is having a tab menu (content for each tab gets populated through a fragment). So that when we are rendering the page all the fragments get loaded. But there is a problem when we select tabs. In each tab previously shown

Re: [Dev] Please review and merge

2017-01-19 Thread Kishanthan Thangarajah
There is a formatting issue in the PR, please fix it. On Thu, Jan 19, 2017 at 2:22 PM, Malith Munasinghe wrote: > Hi All, > > Please review and merge [1]. This is used to fix [2]. > > [1] https://github.com/wso2/carbon-deployment/pull/247 > [2]

[Dev] [UUF] Boolean values are not get stored properly in injected js variable from sendToClient()

2017-01-19 Thread Indunil Upeksha Rathnayake
Hi, Having some problem when using sendToClient() method in the UUF Server Side JS API. I am trying to send an array with a set of map elements as in [1] including some boolean values. When we are sending this value to client side using the sendToClient(), it's injecting the variables to the "js"

[Dev] [UUF] User Portal's Localization properties are not working in Safari browser

2017-01-19 Thread Denuwanthi De Silva
Hi, The values we have set from en_US.properties file in 'lang' folder, does not get properly populated when go through the safari browser. Instead of showing the value it shows the key as shown in the atatched image Is this a known issue in UUF or do we have a way to prevent this from

Re: [Dev] Email template saving issue

2017-01-19 Thread Koné Alioune Badara
Hello, I even tried to delete the template in the tenant and recreate it and I still receive the same old mail. Regards 2017-01-19 10:27 GMT+01:00 Koné Alioune Badara : > Hello, > > Thank you for your answers. > > I tried by changing in the super tenant and the

Re: [Dev] Email template saving issue

2017-01-19 Thread Koné Alioune Badara
Hello, Thank you for your answers. I tried by changing in the super tenant and the tenant under too. But I still having the old version of my template sent by mail, I tried to restart the application in case of there was any cache but still the same result. Regards. 2017-01-18 17:49 GMT+01:00

Re: [Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Johann Nallathamby
On Thu, Jan 19, 2017 at 2:17 PM, Ruwan Abeykoon wrote: > Hi All, > @Johann > I think security questions/account recovery options should not be treated > as server-configurations. I would rather consider them as the runtime data > much like the SP/IdP data. Hence single server

[Dev] Please review and merge

2017-01-19 Thread Malith Munasinghe
Hi All, Please review and merge [1]. This is used to fix [2]. [1] https://github.com/wso2/carbon-deployment/pull/247 [2] https://github.com/wso2/carbon-deployment/issues/248 Regards, Malith -- Malith Munasinghe | Software Engineer M: +94 (71) 9401122 E: mali...@wso2.com W: http://wso2.com

Re: [Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Ruwan Abeykoon
Hi All, @Johann I think security questions/account recovery options should not be treated as server-configurations. I would rather consider them as the runtime data much like the SP/IdP data. Hence single server config does not apply for this case IMO. >>Each component must pass its own

Re: [Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Danushka Fernando
Johan Problem with reading from seperate places is like this. How we have read yaml files is using snakeyaml library, we create a class with parameters as same name as yaml file properties. And we pass this class and we retrieve object of that mapping bean. So how should we achieve that? One idea

Re: [Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Johann Nallathamby
Hi Danushka, Did you see [1]? The thread talks about a single config file for the most commonly changed config files. However the thread doesn't seem to have a conclusion. @Kernel Team, Is this something we have completed implementing? If so can you share some latest details of how we should be

[Dev] [Identity Server] Creating a server configuration Identity.yaml vs component wise yaml files and Reading the server configurations

2017-01-19 Thread Danushka Fernando
Hi All We are currently working on setting challenge questions feature for IS 6.0.0-M1. We need some configurations specific to security questions / account recovery section. In C4 based products it was in identity.xml which is the server configuration. In C5 code we dont have created a such file.