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.
9 years ago
Timo Briddigkeit
0ac4752b2b
Fixed null pointer dereference
9 years ago
Timo Briddigkeit
0ea2c458e7
instanceof will return false for null references, the null check is not needed.
9 years ago
Timo Briddigkeit
90910518d6
Fixed null pointer dereferences
9 years ago
Timo Briddigkeit
b674304087
Made constants real constant using final
9 years ago
Timo Briddigkeit
ee5b077e6a
Fixed various XML External Entity (XXE) attack vulnerabilities
9 years ago
Timo Briddigkeit
09020ccb9f
Fixed predictable pseudorandom number generator
9 years ago
Dilan U. Ariyaratne
ab5aa3e31c
Merge pull request #315 from madhawap/master
...
Added missing end-point to the permissions.xml
9 years ago
madhawap
0b338a1d25
Added missing end-point to the permissions.xml
9 years ago
Chatura Dilan
4ec11e8c08
[maven-release-plugin] prepare for next development iteration
9 years ago
Chatura Dilan
ffedcac543
[maven-release-plugin] prepare release v1.1.1
9 years ago
mharindu
79a6da82f2
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
9 years ago
mharindu
c7eef634ac
Added send-invitation endpoint
9 years ago
dilanua
c61ef1c98e
Fixing issues of GET /compliance-data API
9 years ago
Ace
58666bc4b0
Adding device name url param for device search
9 years ago
Milan Perera
c323b5162e
Merge pull request #314 from madhawap/master
...
Added end-point to get devices enrolled under a specific user
9 years ago
madhawap
c3cbc5b4fb
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
9 years ago
madhawap
0b1e4ad86b
Updated permissions.xml according to new end-points
9 years ago
Ace
d58fb57f4e
Enabling device search for multiple params
9 years ago
madhawap
e52fed0b2d
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
9 years ago
madhawap
34354c032e
Added end-point to get devices enrolled under a specific user
9 years ago
prabathabey
68fbfaf346
Merge branch 'certmgt-postgresql'
9 years ago
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
9 years ago
prabathabey
6edfad5fb7
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
9 years ago
prabathabey
9aa54f2ead
Improving policy management functionalities to use deviceType in place of deviceTypeId for persisting policy information
9 years ago
Dilan U. Ariyaratne
73551590b9
Merge pull request #313 from madhawap/master
...
Added end point to get Compliance Data Of a Device
9 years ago
madhawap
09e2d2ecaf
Removing the internal status code added to the compliance data wrapper
9 years ago
madhawap
68b7d304a0
Added end point to get Compliance Data Of a Device
9 years ago
prabathabey
0125310440
Prepending the url template configured for updating notifications with a '/'
9 years ago
prabathabey
78057b2992
Adding an API to return the list of device types registered in the underlying device management platform
9 years ago
hasuniea
282ac72249
adding SCEPManagerService to scep manager compenent
9 years ago
hasuniea
bbbbb28795
removing unused packages
9 years ago
hasuniea
911d5b5257
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
9 years ago
hasuniea
bf58c0bec3
add package changes to appAuthenticatorFrameworkServiceComponent.java
9 years ago
Milan Perera
38673eff69
Merge pull request #312 from madhawap/master
...
changes to 'updateNotificationStatus' end-point's swagger annotations
9 years ago
madhawap
c17dda082d
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
9 years ago
madhawap
2136ebbeee
changes to 'updateNotificationStatus' swagger annotations
9 years ago
hasuniea
646e8b68d8
remove unwanted package
9 years ago
hasuniea
54498f41cd
modifying scep utils
9 years ago
Chatura Dilan
2befefc967
Added OS build date
9 years ago
Dilan U. Ariyaratne
951d68a92d
Merge pull request #311 from madhawap/master
...
added 'updateNotificationStatus' endpoint and minor formattings to swagger annotations
9 years ago
madhawap
b55a164457
added 'updateNotificationStatus' endpoint and minor formattings to swagger annotations
9 years ago
madhawap
dbf938416b
added 'updateNotificationStatus' endpoint and minor formattings to swagger annotations
9 years ago
prabathabey
49ce42b797
Code cleanup
9 years ago
prabathabey
be7e63c390
merging rest-api-improvements branch to master
9 years ago
Chatura Dilan
23f5ca2ca5
Merge branch 'master' of github.com:wso2/carbon-device-mgt
9 years ago
prabathabey
ed5d611c35
Code cleanup
9 years ago
prabathabey
f33ac36bfa
Merge branch 'rest-api-improvements' of https://github.com/wso2/carbon-device-mgt into rest-api-improvements
9 years ago
prabathabey
37852051ff
Improving Device and Policy Management APIs and cleaning up code of Role and User Management APIs
9 years ago
Chatura Dilan
24b462f4f4
Added is-active field to the Application
9 years ago