Commit Graph

2740 Commits

Author SHA1 Message Date
mharindu
186432e1df Fixed webapp name resolving issue 2016-07-18 20:08:51 +05:30
Dulitha Wijewantha
03f323d6e2 Fixed a bug where getBoolean wasn't used 2016-07-18 12:29:58 +05:30
prabathabey
50a2e4733b Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-18 11:48:24 +05:30
Ace
ca8859c80a Fixing broken build due to new javax.xml imports 2016-07-18 09:09:29 +05:30
Timo Briddigkeit
ed07774552 Fixed literal string comparison.
This line is in the form of
String str = ...
str.equals("someOtherString");
//or
str.compareTo("someOtherString");

A NullPointerException may occur if the String variable str is null. If instead the code was restructured to
String str = ...
"someOtherString".equals(str);
//or
"someOtherString".compareTo(str);
that is, call equals() or compareTo() on the string literal, passing the variable as an argument, this exception could never happen as both equals() and compareTo() check for null.
2016-07-15 16:25:31 +02:00
mharindu
80f737822e Fixed enrollment device mapping issue 2016-07-15 19:45:04 +05:30
prabathabey
c18bc500d5 Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-15 17:31:47 +05:30
Timo Briddigkeit
fe489d7f56 Fixed null pointer dereferences 2016-07-15 17:29:28 +05:30
Ace
8a54c5a9cb Adding emm apis as common modules 2016-07-15 17:29:28 +05:30
Timo Briddigkeit
d28054a39d Made constants real constant using final 2016-07-15 17:29:28 +05:30
Timo Briddigkeit
666506da90 Fixed various XML External Entity (XXE) attack vulnerabilities 2016-07-15 17:29:28 +05:30
Timo Briddigkeit
796a81311c Fixed predictable pseudorandom number generator 2016-07-15 17:29:28 +05:30
Prabath Abeysekara
fbb09a7f58 Merge pull request #316 from xenobyte/master
Fixed predictable pseudorandom number generator
2016-07-15 13:17:23 +05:30
Timo Briddigkeit
0ac4752b2b Fixed null pointer dereference 2016-07-15 09:47:08 +02:00
Timo Briddigkeit
0ea2c458e7 instanceof will return false for null references, the null check is not needed. 2016-07-15 09:39:50 +02:00
Timo Briddigkeit
90910518d6 Fixed null pointer dereferences 2016-07-15 09:26:27 +02:00
Ace
15ae91d1c5 Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-15 11:59:42 +05:30
Ace
ca10ad53bb Adding emm apis as common modules 2016-07-15 11:59:15 +05:30
prabathabey
40b43a8b97 DAO exceptions thrown while retrieving advance details of devices appears to have been swallowen at the REST API implementation that exposes the aforementioned functionality. This particular fix resolves it 2016-07-14 01:24:00 +05:30
Timo Briddigkeit
b674304087 Made constants real constant using final 2016-07-13 15:57:12 +02:00
Timo Briddigkeit
ee5b077e6a Fixed various XML External Entity (XXE) attack vulnerabilities 2016-07-13 15:02:11 +02:00
Timo Briddigkeit
09020ccb9f Fixed predictable pseudorandom number generator 2016-07-13 14:35:55 +02:00
mharindu
99664b23c5 Merge branch 'master' of https://github.com/wso2/carbon-device-mgt into scope-impl 2016-07-13 11:05:35 +05:30
Dilan U. Ariyaratne
ab5aa3e31c Merge pull request #315 from madhawap/master
Added missing end-point to the permissions.xml
2016-07-12 10:28:38 +05:30
madhawap
0b338a1d25 Added missing end-point to the permissions.xml 2016-07-12 10:24:05 +05:30
mharindu
789086a667 Changed context paths 2016-07-12 01:31:35 +05:30
mharindu
0f904e21d8 Fixed conflicts and merged 2016-07-11 22:12:15 +05:30
Chatura Dilan
4ec11e8c08 [maven-release-plugin] prepare for next development iteration 2016-07-08 19:11:40 +05:30
Chatura Dilan
ffedcac543 [maven-release-plugin] prepare release v1.1.1 2016-07-08 19:09:55 +05:30
mharindu
79a6da82f2 Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-08 18:39:10 +05:30
mharindu
c7eef634ac Added send-invitation endpoint 2016-07-08 18:38:00 +05:30
dilanua
c61ef1c98e Fixing issues of GET /compliance-data API 2016-07-08 18:01:10 +05:30
Ace
58666bc4b0 Adding device name url param for device search 2016-07-08 14:57:43 +05:30
Milan Perera
c323b5162e Merge pull request #314 from madhawap/master
Added end-point to get devices enrolled under a specific user
2016-07-08 14:39:36 +05:30
madhawap
c3cbc5b4fb Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-08 14:29:53 +05:30
madhawap
0b1e4ad86b Updated permissions.xml according to new end-points 2016-07-08 14:29:29 +05:30
Ace
d58fb57f4e Enabling device search for multiple params 2016-07-08 10:09:46 +05:30
madhawap
e52fed0b2d Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-07 19:51:57 +05:30
madhawap
34354c032e Added end-point to get devices enrolled under a specific user 2016-07-07 19:46:22 +05:30
prabathabey
68fbfaf346 Merge branch 'certmgt-postgresql' 2016-07-07 14:10:48 +05:30
prabathabey
ce2a801934 Fixing https://wso2.org/jira/browse/EMM-1448 which fixes issues while persisting certificates when PostgreSQL is used as the underlying certificate management repository database 2016-07-07 14:10:03 +05:30
prabathabey
6edfad5fb7 Merge branch 'master' of https://github.com/wso2/carbon-device-mgt 2016-07-07 13:10:30 +05:30
prabathabey
9aa54f2ead Improving policy management functionalities to use deviceType in place of deviceTypeId for persisting policy information 2016-07-07 13:10:19 +05:30
Dilan U. Ariyaratne
73551590b9 Merge pull request #313 from madhawap/master
Added end point to get Compliance Data Of a Device
2016-07-07 11:16:09 +05:30
madhawap
09e2d2ecaf Removing the internal status code added to the compliance data wrapper 2016-07-07 11:14:43 +05:30
madhawap
68b7d304a0 Added end point to get Compliance Data Of a Device 2016-07-06 18:40:49 +05:30
prabathabey
0125310440 Prepending the url template configured for updating notifications with a '/' 2016-07-05 15:39:50 +05:30
prabathabey
78057b2992 Adding an API to return the list of device types registered in the underlying device management platform 2016-07-05 15:09:11 +05:30
mharindu
d3982c9797 Modified API definitions 2016-07-04 19:26:15 +05:30
mharindu
cc5f677165 Merge branch 'master' of https://github.com/wso2/carbon-device-mgt into scope-impl 2016-07-04 18:01:55 +05:30