summaryrefslogtreecommitdiffstats
path: root/security-util-lib/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2019-11-28Merge "Fix Sonar issues"Ilana Paktor1-30/+4
2019-11-28Unit testshrek20001-32/+8
Improve code coverage by using lombok Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I3f8fe1261a79886baf3dd5208822d68d95e5c001
2019-11-28Fix Sonar issuesshrek20001-30/+4
lombok helps to increase code coverage Issue-ID: SDC-2690 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I076c200befe2c1c887db81fe6db8e00af3556f36
2019-11-28Fix Sonar issuesshrek20001-9/+9
There is no requirement that class names be unique, only that they be unique within a package. Therefore trying to determine an object's type based on its class name is an exercise fraught with danger. One of those dangers is that a malicious user will send objects of the same name as the trusted class and thereby gain trusted access. Instead, the instanceof operator or the Class.isAssignableFrom() method should be used to check the object's underlying type. Issue-ID: SDC-2697 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: Ie4fd94618135b425a7e505992649f1a6384b0f98 Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
2019-11-21add security-util-lib to OnapYuli Shlosberg47-0/+6205
This lib provides security layer filters and mainly used in sdc project. It base on third party projects e.g. Cadi and Portal Issue-ID: SDC-2656 Signed-off-by: Yuli Shlosberg <ys9693@att.com> Change-Id: Iae1a78f0960386e9bdc0994fbac09a24e041cb54