Re: [Dev] [Architecture] Why we use timestampSkew default value as 300 seconds in identity.xml, why not 0 seconds.

2017-05-31 Thread Farasath Ahamed
On Wed, May 31, 2017 at 12:28 PM, Thanuja Jayasinghe wrote: > Hi Dinali, > > Consider the following calculation. > > expiry time = issuedTimeInMillis + validityPeriodMillis - > (System.currentTimeMillis() - timestampSkew) > > So actually token is valid for (validityPeriodMillis + timestampSkew) >

Re: [Dev] [Architecture] Why we use timestampSkew default value as 300 seconds in identity.xml, why not 0 seconds.

2017-05-31 Thread Asela Pathberiya
On Wed, May 31, 2017 at 1:08 PM, Farasath Ahamed wrote: > > On Wed, May 31, 2017 at 12:28 PM, Thanuja Jayasinghe > wrote: > >> Hi Dinali, >> >> Consider the following calculation. >> >> expiry time = issuedTimeInMillis + validityPeriodMillis - >> (System.currentTimeMillis() - timestampSkew) >> >

[Dev] [Dashboard] Refactoring dashboard API patterns

2017-05-31 Thread Lasantha Samarakoon
​​Hi all, ATM Dashboard UUF component is exposing set of REST APIs to perform CRUD operations on the artifacts such as dashboards, layouts and widgets. But these APIs don't have proper URL patterns associated, hence we are planning on refactoring these APIs [1]. We had a offline discussion regardi

Re: [Dev] [Dashboard] Refactoring dashboard API patterns

2017-05-31 Thread Lakshman Udayakantha
Hi Lasantha, On Wed, May 31, 2017 at 1:57 PM, Lasantha Samarakoon wrote: > ​​Hi all, > > ATM Dashboard UUF component is exposing set of REST APIs to perform CRUD > operations on the artifacts such as dashboards, layouts and widgets. But > these APIs don't have proper URL patterns associated, hen

Re: [Dev] [Dashboard] Refactoring dashboard API patterns

2017-05-31 Thread Lasantha Samarakoon
Hi Lakshman, In this case we send the complete JSON to the update API, so the JSON can contain multiple modified fields. So from the database level we modify the fields of the record accordingly. *Lasantha Samarakoon* | Software Engineer WSO2, Inc. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +

Re: [Dev] API 2.1.0 + Identity Server 5.3.0

2017-05-31 Thread Isura Karunaratne
HI Javier, It looks like you have not configured secondary user store in API Manager instance. You can get rid of the authorization issue by configuring the read-only secondary user store in APIM as well. Since the Authorization handles in APIM instance, user store should be shared with APIM as w

[Dev] Identity Server extending session endpoint

2017-05-31 Thread Illia Alifanov
Dear dev team, We talk about new endpoint for Identity Server for extending session if necessary https://wso2.org/jira/browse/IDENTITY-5933 Would you be so kind to send me specification for this new endpoint if you already have prepared it and I'll try to implement it for Identity Server 5.1.0.

[Dev] Extending API manager

2017-05-31 Thread Gihan Nimath
Dear all, I am working on customizing api-manager storefront. Rather than the customizing the code in my fork, I am thinking about writing the customization part in a separate project. Then I will be able to have a maven build that will apply those changes on to the zip file generated as the relea

Re: [Dev] Identity Server extending session endpoint

2017-05-31 Thread Farasath Ahamed
On Wed, May 31, 2017 at 5:54 PM, Illia Alifanov wrote: > Dear dev team, > > > > We talk about new endpoint for Identity Server for extending session if > necessary > > https://wso2.org/jira/browse/IDENTITY-5933 > > > > Would you be so kind to send me specification for this new endpoint if you > a

[Dev] WSO2IS - PAP/PDP API

2017-05-31 Thread Welkson Renny de Medeiros
Hello, Its possible manipulate (create, publish pap->pdp, disable/enable, etc.) XACML policy using API? More details: https://stackoverflow.com/questions/44271169/wso2-policy-management-xacml-using-api Thanks in advance. -- Welkson ___ Dev mailing li

Re: [Dev] [MQTT][IOT] MQTT over web sockets for browser device communication

2017-05-31 Thread Susinda
Hi Waruna Have you come across this, https://wiki.eclipse.org/Paho/Paho_Websockets, Hope it would help. Thanks Susinda On Mon, May 29, 2017 at 2:42 PM, Waruna Jayaweera wrote: > Thanks Hasitha > > On Mon, May 29, 2017 at 2:40 PM, Hasitha Amal De Silva > wrote: > >> Hi Waruna, >> >> We do not s

Re: [Dev] Error when running the newest build of MB-4

2017-05-31 Thread Riyafa Abdul Hameed
Hi All, For the moment we will create the folder by adding it to the bin.xml of MB-4. Also I have created an issue regarding this: https://github.com/wso2/carbon-deployment/issues/261 Thank you. Riyafa On Wed, May 31, 2017 at 10:58 AM, Niranjan Karunanandham wrote: > Hi Riyafa, > > This issue

Re: [Dev] WSO2IS - PAP/PDP API

2017-05-31 Thread Omindu Rathnaweera
Hi Welkson, These XACML admin services we have are SOAP services and you can invoke them using python. There are 2 SOAP services you'll have to use. For policy administration i.e creating, publishing policies EntitlementPolicyAdminService should be used and for evaluating XACML requests, Entitleme