summaryrefslogtreecommitdiffstats
path: root/cadi/core/src
AgeCommit message (Collapse)AuthorFilesLines
2018-10-06Refactor Client ConfigInstrumental2-14/+30
Refactored the client to handle multiple keystores without compromising keys, etc. After testing, now valiates just fine Issue-ID: AAF-424, AAF-540 Change-Id: I3b99014dd4b73ae22c359d35658da3bb13745ef9 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-07Mass whitespace changes (Style Warnings)Instrumental56-609/+609
Issue-ID: AAF-473 Change-Id: Ia1b3825a527bd56299949b5962bb9354dffbeef8 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-07Mass add newline package (Style Warnings)Instrumental36-0/+36
Issue-ID: AAF-473 Change-Id: Ibced57f7e0bc22ec7eba9c69ead0ecca11aaf3e9 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-07Mass removal of all Tabs (Style Warnings)Instrumental169-12810/+12810
Issue-ID: AAF-473 Change-Id: Iaf0ef8120882937959bb0065f2f6ba74a021940f Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-06quoted propsInstrumental1-0/+5
Issue-ID: AAF-420 Change-Id: I76f8989ef3499ace13cb93e9ff47493754ab02fc Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-09-06Add timing CadiFilterInstrumental20-27/+209
Issue-ID: AAF-468 Change-Id: I335a1106609ac99e12eeb0640a06c9eb969e9bbb Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-08-31Merge "sonar fix"Jonathan Gathman1-1/+1
2018-08-29Change CadiFilter Default SSetterInstrumental4-37/+87
Issue-ID: AAF-460 Change-Id: I1f7d52104eb36c35cca3264b4995342936e69ef6 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-08-29sonar fixTomek Kaminski1-1/+1
https://sonar.onap.org/project/issues?id=org.onap.aaf.authz%3Aparent&open=AWKvaFNSwGn37Jfbl1QS&resolved=false&severities=CRITICAL&types=VULNERABILITY Change-Id: I56f8acc55c4a73e6b3c89327615905979307dde6 Issue-ID: AAF-459 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-07-20Merge "Sonar fixes related to exceptions"Jonathan Gathman1-60/+63
2018-07-20Merge "System dependent separators"Jonathan Gathman1-1/+2
2018-07-19Configuration and Auto-CertificatesInstrumental10-21/+41
Issue-ID: AAF-378 Change-Id: Ic820a4e43684a6130f00b28b415a974876099fc3 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-17Sonar fixes related to exceptionsMaciej Wejs1-60/+63
Fixes in Config from module aaf-cadi-core Change-Id: I68d878ab6b889b5752bfb5149125a228c48b8316 Issue-ID: AAF-396 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-07-16Changes from Testing AAF ConfigInstrumental1-2/+1
Issue-ID: AAF-378 Change-Id: Icca28ee4e76b8329c7e068ba9305f9f647b6e479 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-12System dependent separatorsMaciej Wejs1-1/+2
Added handling of system dependent separators in places they currently cause JU fail on non-Unix systems. Change-Id: I7331a76945a90c255805d0a3e39960444a2ee65b Issue-ID: AAF-387 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-07-10System dependent separators in JU testsMaciej Wejs5-35/+36
Change-Id: I6795074d6cdec24821f465504e3d20bc4cc68eaf Issue-ID: AAF-387 Signed-off-by: Maciej Wejs <maciej.wejs@nokia.com>
2018-07-05Refine Agent for cadi utilsInstrumental2-21/+16
Issue-ID: AAF-361 Change-Id: Id07b60181b906e65aefb24cbe0d192e362c2c3f4 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-03Fix testing results for AuthnInstrumental2-1/+9
Issue-ID: AAF-361 Change-Id: I8f78b41580368610e126aa4cc7cadf8ef204d03a Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-03Remove Sonar BlockersInstrumental1-1/+1
Issue-ID: AAF-386 Change-Id: Ic9f1f17b949fd1192a35bce5eb10481fda0e06ee Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-03Collection syntax change because of SonarInstrumental19-38/+51
Issue-ID: AAF-386 Change-Id: I8ba8d8561d03e680ddc90a81b8db0339814c65fa Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-02Add ability for BAuth by domainInstrumental7-37/+133
Issue-ID: AAF-361 Change-Id: I6f437ffcfef5555f44acfb32fd6020f86f8cf403 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-07-02Update CM to us Local Intermediate CertsInstrumental5-8/+16
Issue-ID: AAF-384 Change-Id: Iefd36c5b9ab8011ac696cb85e74c54edb63cb40a Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-06-26Initial Interface for remote ConfigurationInstrumental1-1/+1
Issue-ID: AAF-378 Change-Id: I320b0c23ece63199a49a5d8b1706868d2c4e5355 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-06-23JettyStartups to improve new FiltersInstrumental2-4/+3
Issue-ID: AAF-361 Change-Id: I74cac231ebac81466778c1c3ebca16c63ae6f78a Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-06-22Refine aafcli for TestsInstrumental1-1/+6
Issue-ID: AAF-361 Change-Id: Ib28ab9e4ccea7bacc165946cf7075ee1b75edd76 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-24Add Cert Cred for aafcliInstrumental1-4/+29
Issue-ID: AAF-322 Change-Id: I507e43b56922d8c5771a3027deda173be00fa4af Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-22Fix AAF Locator for ONAPInstrumental1-1/+5
Issue-ID: AAF-317 Change-Id: I30b11efe8ad0bc1d817d640daae3fd8f630c7bc0 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-21Fix SubStandardConsoleInstrumental1-3/+11
Issue-ID: AAF-237 Change-Id: Ia4d446f95647be3cb03af1fbdc9f5d6b9f3d224b Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-21Improve coverage of cadi-coreIanHowell3-111/+128
* Fix some of the Sonar issues in SecurityInfo * Improve coverage of SecurityInfo Issue-ID: AAF-225 Change-Id: I1a7c6e5ad9d0444cd8441bccf2c79ad79d9d3ddb Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-18Remove some attismsInstrumental1-1/+1
Issue-ID: AAF-291 Change-Id: If20e87b3e1eb5738a32be448aa8219b04bd7520f Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-17Improve cadi-core coverageIanHowell12-192/+435
* Wrote tests for AUTHZServlet, MapPermConverter, NullPermConverter, and PathFilter * Deleted old test for FCGet - the class is not accessable to JUnits * Reduced complexity of AUTHZServlet, MapPermConverter, NullPermConverter, and PathFilter * Fixed a NullPointerException in CmdLine and its associated JUnit Issue-ID: AAF-225 Change-Id: Ifa6453043469cebb30d10a8a9e2bc1d01599a8c8 Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-16Improve coverage of cadi-coreIanHowell4-76/+345
* Reduced complexity of HttpEpiTaf and LoginPageTafResp * Applied ONAP's code style to HttpEpiTaf and LoginPageTafResp * wrote JUnits for HttpEpiTaf and LoginPageTafResp Issue-ID: AAF-225 Change-Id: I28059237e838d0276593d556d2e04fe3a7b852c6 Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-15Improve tests in cadi-coreIanHowell15-431/+558
* Added tests for LocalLur and AbsTafResp * Fixed several warnings on old tests Issue-ID: AAF-225 Change-Id: I3583424a734c9999934153bcd069c50f306d235b Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-11Improve coverage of cadi-coreIanHowell5-0/+502
Issue-ID: AAF-225 Change-Id: I72bd430c9dcf7fbe973f478a46d1f2aaee52da09 Signed-off-by: IanHowell <ian.howell@att.com>
2018-05-09Check Perm Instance ending in colonInstrumental2-3/+14
Issue-ID: AAF-269 Change-Id: I5422c0f119a53284ddc25eb7b99a8a6b09d3dd39 Signed-off-by: Instrumental <jonathan.gathman@att.com> Fix broken JUnits Issue-ID: AAF-270 Change-Id: I91e5d24b0e0610b10dcd12e90813e9ea00af1812 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-05-08Improve code coverage for auth locateSai Gandham1-0/+1
Issue-ID: AAF-243 Change-Id: I00b38931fa683ca04d48f273f23b538c9a51a426 Signed-off-by: Sai Gandham <sg481n@att.com>
2018-05-04Fix package names in ConfigInstrumental3-48/+44
Issue-ID: AAF-268 Change-Id: Ib9f290925250bddc3dc9aeb2ed1dfeb0d18f0fc9 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-04-30add newly revealed ONAP IDsInstrumental1-6/+13
Issue-ID: AAF-256 Change-Id: I7ff85f115a513d333ed6c742609190cc67c1d536 Signed-off-by: Instrumental <jonathan.gathman@att.com>
2018-04-26Fix Bath config issueInstrumental4-10/+19
Issue-ID: AAF-264 Change-Id: Id9203fe4d756ac9aab51f7ccc5f33d8a41e2f5ce Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-25Fix bug introduced by Sonar workInstrumental1-2/+2
Issue-ID: AAF-256 Change-Id: I7885d8fed869893d653b05a09f1aa5f3016aebda Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-20Improve coverage of cadi-clientIanHowell1-0/+123
Issue-ID: AAF-224 Change-Id: I36eef9e11e0944d29f3cd0bf71c2856a4b955966 Signed-off-by: IanHowell <ian.howell@att.com> Comment out tests that fail the jenkins builds Issue-ID: AAF-224 Change-Id: I1140c7b00f2a2abfced62a0c48b1b86cbe567d8a Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-19Merge "Cleanup JUnits"Jonathan Gathman39-158/+177
2018-04-18Support Multiple Realms for DefaultOrgInstrumental1-0/+4
Issue-ID: AAF-254 Change-Id: I89a9b1ceaa304861debd4c7dd21879e0b1fc902a Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-17Cleanup JUnitsIanHowell39-158/+177
* Moved JUnits into proper packages so as to match other packages * Suppressed most of the noisy output from JUnits in cadi-aaf * Prepared SecurityInfo for JUnit testing Issue-ID: AAF-128 Change-Id: Ib34658ca6da71a692336c51f1489ed167b531f77 Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-17Improve coverage of CadiIanHowell11-29/+362
Improved coverage of tests in cadi-core, cadi-aaf, and cadi-client Issue-ID: AAF-128 Change-Id: Ie7df52ede1586d127098937f8d42cc6314e7eaa7 Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-10Improve JUnit test coverageIanHowell9-67/+859
* Fixed a typo in DenialOfServiceTaf * Added a JUnit for DenialOfServiceTaf * Cleaned up JU_Cached, JU_AuthzEnv (WIP) Issue-ID: AAF-128 Change-Id: I76ace8aff3f72538f40068f6cc9c80f24aee7403 Signed-off-by: IanHowell <ian.howell@att.com> Increase coverage in cadi/client and cadi/core Get coverage for Holder, NulTaf, and NullTafResp to 100% Issue-ID: AAF-128 Change-Id: Ica83c29311801d499f922ccb4c33fb7f4e58f686 Signed-off-by: IanHowell <ian.howell@att.com> Improve coverage of the Tafs Issue-ID: AAF-128 Change-Id: I07f9ebee0a64c598047e74801a266898107783f7 Signed-off-by: IanHowell <ian.howell@att.com> Improve test coverage of XReader Issue-ID: AAF-128 Change-Id: I9b369b803743166027170b4a8ca50bd337e45b7b Signed-off-by: IanHowell <ian.howell@att.com> Improve coverage of GreatCircle Issue-ID: AAF-128 Change-Id: Id5e41a481db1106d050fb216664c1aa1e07cef2a Signed-off-by: IanHowell <ian.howell@att.com> Suppress test output Issue-ID: AAF-128 Change-Id: I7a7afe7617c81403d27baf89353f175d9cead165 Signed-off-by: IanHowell <ian.howell@att.com> Move JU_DNSLocator to the correct package Change-Id: Ic8feddf7444afcaaaa252a40d340116597533f46 Signed-off-by: IanHowell <ian.howell@att.com>
2018-04-06Make cross-container access workInstrumental1-1/+2
Issue-ID: AAF-218 Change-Id: Ib31646e3ce6e38c2ef0a02fe1d2f57cf963a5a4a Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-06Service required changed startupv2.1.0Instrumental1-1/+2
Issue-ID: AAF-211 Change-Id: Id4101ca0e59c5a2a3deaf703dc8fdd07183f3b4d Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-05Add Certs, Docker BuildInstrumental4-477/+478
Issue-ID: AAF-211 Change-Id: Idc7630578155586a6e53d7af80dd16e4e0ac41ca Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
2018-04-03Create method of Logging to O/S from ContainerInstrumental6-19/+51
Issue-ID: AAF-211 Change-Id: Ib5c369c24082823f6f8cfde7609b966f57085665 Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>