Re: [Dev] Delete operation on /Me endpoint in SCIM 2.0

2016-11-10 Thread Chamila Wijayarathna
Hi,

+1 for handling this with scenario with a 501 for only C4.

On Fri, Nov 11, 2016 at 4:36 PM, Darshana Gunawardana 
wrote:

>
>
> On Fri, Nov 11, 2016 at 10:27 AM, Vindula Jayawardana 
> wrote:
>
>> Hi All,
>>
>> In SCIM /Me endpoint, an authenticated user should be able to delete
>> himself as mentioned in specification [1]. However when I try to do that
>> using the current user core, I get a user store exception saying
>> 'LoggedInUser Cannot delete logged in user'.
>>
>> One way of how I can handle this is , as mentioned in specification
>> itself [2], can respond to HTTP DELETE on /Me endpoint with a HTTP status
>> code 501 as we can not support it.
>>
>
> +1. This is ok for C4. But with the C5 i don't think we have a restriction
> on this.
>
> Thanks,
>
>
>> Or else is there any other good way of handling this ?
>>
>> Any thoughts on this is highly appreciated.
>>
>> [1] https://tools.ietf.org/html/rfc7644#section-3.2
>> [2] https://tools.ietf.org/html/rfc7644#section-3.11
>> --
>> *Vindula Jayawardana*
>> Trainee Software Engineer
>> Mobile : +94 713 462554
>> Email : vind...@wso2.com
>>
>
>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Associate Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com *
> *Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chamila Dilshan Wijayarathna,
PhD Research Student
The University of New South Wales (UNSW Canberra)
Australian Centre for Cyber Security
Australian Defence Force Academy
PO Box 7916, Canberra BA ACT 2610
Australia
Mobile:(+61)416895795
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Delete operation on /Me endpoint in SCIM 2.0

2016-11-10 Thread Darshana Gunawardana
On Fri, Nov 11, 2016 at 10:27 AM, Vindula Jayawardana 
wrote:

> Hi All,
>
> In SCIM /Me endpoint, an authenticated user should be able to delete
> himself as mentioned in specification [1]. However when I try to do that
> using the current user core, I get a user store exception saying
> 'LoggedInUser Cannot delete logged in user'.
>
> One way of how I can handle this is , as mentioned in specification itself
> [2], can respond to HTTP DELETE on /Me endpoint with a HTTP status code 501
> as we can not support it.
>

+1. This is ok for C4. But with the C5 i don't think we have a restriction
on this.

Thanks,


> Or else is there any other good way of handling this ?
>
> Any thoughts on this is highly appreciated.
>
> [1] https://tools.ietf.org/html/rfc7644#section-3.2
> [2] https://tools.ietf.org/html/rfc7644#section-3.11
> --
> *Vindula Jayawardana*
> Trainee Software Engineer
> Mobile : +94 713 462554
> Email : vind...@wso2.com
>



-- 
Regards,


*Darshana Gunawardana*Associate Technical Lead
WSO2 Inc.; http://wso2.com

*E-mail: darsh...@wso2.com *
*Mobile: +94718566859 <%2B94718566859>*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Delete operation on /Me endpoint in SCIM 2.0

2016-11-10 Thread Ishara Karunarathna
Hi,

As I remember we are not supporting this with C4 User core.
But better to support this and then we should be able to associate
workflow  to set some approval for deleted users.

-Ishara


On Fri, Nov 11, 2016 at 10:27 AM, Vindula Jayawardana 
wrote:

> Hi All,
>
> In SCIM /Me endpoint, an authenticated user should be able to delete
> himself as mentioned in specification [1]. However when I try to do that
> using the current user core, I get a user store exception saying
> 'LoggedInUser Cannot delete logged in user'.
>
> One way of how I can handle this is , as mentioned in specification itself
> [2], can respond to HTTP DELETE on /Me endpoint with a HTTP status code 501
> as we can not support it. Or else is there any other good way of handling
> this ?
>
> Any thoughts on this is highly appreciated.
>
> [1] https://tools.ietf.org/html/rfc7644#section-3.2
> [2] https://tools.ietf.org/html/rfc7644#section-3.11
> --
> *Vindula Jayawardana*
> Trainee Software Engineer
> Mobile : +94 713 462554
> Email : vind...@wso2.com
>



-- 
Ishara Karunarathna
Associate Technical Lead
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: isha...@wso2.com,   blog: isharaaruna.blogspot.com,   mobile:
+94717996791
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Delete operation on /Me endpoint in SCIM 2.0

2016-11-10 Thread Vindula Jayawardana
Hi All,

In SCIM /Me endpoint, an authenticated user should be able to delete
himself as mentioned in specification [1]. However when I try to do that
using the current user core, I get a user store exception saying
'LoggedInUser Cannot delete logged in user'.

One way of how I can handle this is , as mentioned in specification itself
[2], can respond to HTTP DELETE on /Me endpoint with a HTTP status code 501
as we can not support it. Or else is there any other good way of handling
this ?

Any thoughts on this is highly appreciated.

[1] https://tools.ietf.org/html/rfc7644#section-3.2
[2] https://tools.ietf.org/html/rfc7644#section-3.11
-- 
*Vindula Jayawardana*
Trainee Software Engineer
Mobile : +94 713 462554
Email : vind...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] wso2-uri-templates-1.6.5.jar MANIFEST does not contain version in it's exported packages.

2016-11-10 Thread Kishanthan Thangarajah
This was moved to synapse and then maintained from there IIRC. So why are
we still using the old lib?

On Thu, Nov 10, 2016 at 9:55 AM, Ishara Cooray  wrote:

>
>
> *Hi,*Please note $Subject. Due to that it gives an ClassNotFound error at
> runtime when i try to use 1.6.5 version.
>
> Please find the jar at [1].
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Manifest-Version: 1.0 Export-Package:
> org.wso2.uri.template.parser;uses:="org.wso2.uri.templ
>  ate",org.wso2.uri.template;uses:="org.wso2.uri.template.parser"
> Ignore-Package: org.wso2.uri.template.parser,org.wso2.uri.template
> Bundle-Version: 1.6.5 Build-Jdk: 1.6.0_45 Built-By: wso2 Tool: Bnd-0.0.238
> Bnd-LastModified: 1397381009735 Bundle-Name: wso2-uri-templates
> Bundle-ManifestVersion: 2 Created-By: Apache Maven Bundle Plugin
> Bundle-SymbolicName: wso2-uri-templates[1]
> https://mvnrepository.com/artifact/org.wso2.uri.template/wso2-uri-templates/1.6.5
> *
> Thanks & Regards,
> Ishara Cooray
> Senior Software Engineer
> Mobile : +9477 262 9512
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>



-- 
*Kishanthan Thangarajah*
Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Lock timeout configuration for iOS and Android password policy

2016-11-10 Thread Niranjan Karunanandham
On Thu, Nov 10, 2016 at 3:01 PM, Dulitha Wijewantha 
wrote:

> Hi guys,
> On our passcode policy we should have a method to setup the minimum lock
> time duration. This is supported my iOS (can be done through apple
> configurator) and Android also supports this from the Device Admin API [1]
>
In addition to this, currently we support only passcode, but in devices
there are other locks like Pattern Lock, Biometric lock, etc... In the
policy, how about enforcing a particular type of lock via a policy?


>
>
> [1] - https://developer.android.com/guide/topics/admin/device-admin.html
>
>
> Cheers~
>
> --
> Dulitha Wijewantha (Chan)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Middleware
>  * ~Email   duli...@wso2.com *
> *  ~Mobile +94712112165 <%2B94712112165>*
> *  ~Website   dulitha.me *
> *  ~Twitter @dulitharw *
>   *~Github @dulichan *
>   *~SO @chan *
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
Regards,
Nira

-- 


*Niranjan Karunanandham*
Associate Technical Lead - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Lock timeout configuration for iOS and Android password policy

2016-11-10 Thread Dulitha Wijewantha
Hi guys,
On our passcode policy we should have a method to setup the minimum lock
time duration. This is supported my iOS (can be done through apple
configurator) and Android also supports this from the Device Admin API [1]


[1] - https://developer.android.com/guide/topics/admin/device-admin.html


Cheers~

-- 
Dulitha Wijewantha (Chan)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Middleware
 * ~Email   duli...@wso2.com *
*  ~Mobile +94712112165*
*  ~Website   dulitha.me *
*  ~Twitter @dulitharw *
  *~Github @dulichan *
  *~SO @chan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev