summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-os
AgeCommit message (Collapse)AuthorFilesLines
2019-06-21PeerBroadcastSocket sonar issues fix and code refactorDominik Mizyn1-39/+16
Sonar issues fix and code refactor. Session data save moved to another method. Rest of code don't really do anything. Issue-ID: PORTAL-624 Change-Id: I53b36377f2d2645d8c24ad2384959f0599e07303 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-06-21ONAPWelcomeController sonar issue fixDominik Mizyn1-11/+4
String viewName and getter/setter can be romoved from his class. ONAPWelcomeController Overrides this field 1 to 1. Issue-ID: PORTAL-652 Change-Id: Idbb41f52a63c6ea681f6ba7753991d766849e3a2 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-06-21ONAPLoginController sonar issues fix.Dominik Mizyn1-16/+21
Sonar issues fix plus @Autowired in constructor not in fields. Issue-ID: PORTAL-651 Change-Id: I99329b986877d040c6fdda9daf42a5c501a39605 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-06-21SimpleLoginStrategy sonar issues fixDominik Mizyn1-16/+18
"Either remove or fill this block of code." "Move the "" string literal on the left side of this string comparison." "Define and throw a dedicated exception instead of using a generic one." Issue-ID: PORTAL-650 Change-Id: I92018287a6f585020f0ae6f042b1bb1de84a5e14 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-06-21OpenIdConnectLoginStrategy sonar issues fixDominik Mizyn1-7/+4
Redundant suppression("rawtypes") removed. Sonar issue: Move the "" string literal on the left side of this string comparison. Define and throw a dedicated exception instead of using a generic one. Issue-ID: PORTAL-649 Change-Id: Ia2c80ad4848c22c94a2db731425250784d382841 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-06-17Application Onboarding page changes Kotta, Shireesha (sk434m)4-41/+80
Issue-ID: PORTAL-644 Application Onboarding page changes , DB scripts Change-Id: Id689e15f5abd56192420e6761440659531108ab4 Signed-off-by: Kotta, Shireesha (sk434m) <sk434m@att.com>
2019-06-14Merge "XSS Vulnerability fix in DashboardSearchResultController"Sunder Tattavarada2-11/+143
2019-06-14Merge "XSS Vulnerability fix in AppsOSController"Sunder Tattavarada2-3/+32
2019-06-05XSS Vulnerability fix in DashboardSearchResultControllerDominik Mizyn2-11/+143
Custom Validator is used to secure this endpoints. Issue-ID: OJSI-15 Change-Id: Idf523a53bc5fe9e1df8110526d56336953759c86 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-05-31XSS Vulnerability fix in AppsOSControllerDominik Mizyn2-3/+32
SecureString class used to secure PathVariable. Issue-ID: OJSI-207 Change-Id: I6275c5db4d8d97dc60ef1676b651e3d8802ad9f7 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-05-30Merge "Don't give the user the exact stack trace of the exception"Manoop Talasila1-20/+26
2019-05-29Don't give the user the exact stack trace of the exceptionPiotr Borelowski1-20/+26
Catching the exception in the SecurityXssFilter class. Issue-ID: OJSI-192 Change-Id: I8d9d7a3032f98afcb58285b13b13d5ce35fddadd Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
2019-05-28Don't give user the exact exception descriptionPiotr Borelowski1-0/+8
The exact description of the exception especially if related to cryptography cannot be given to the user as it may be abused by the attacker. To fix that, we started to use @ExceptionHandler for all exceptions in the LoginController as well. CVE: CVE-2019-12121 Issue-ID: OJSI-92 Change-Id: I100b37ff33d28ebccc2411c3acc62bdb7ce11ca8 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com> Acked-by: Manoop Talasila <talasila@research.att.com>
2019-04-29Fix no reaction bug about changing language optionguochuyicmri1-1/+2
Change-Id: Ie1f75224d0cc70a87e77f5c357ed6e34b0cb3220 Issue-ID: PORTAL-565 Signed-off-by: shentao999 <shentao@chinamobile.com>
2019-03-20CADI AAF Integration and merging the codehb123f8-22/+82
Issue-ID: PORTAL-319 CADI AAF Integration and code merge Change-Id: I6e44f3b2741858d8d403b77a49ec9a0153084801 Signed-off-by: hb123f <hbindu@research.att.com>
2019-02-07Merge "PeerBroadcastSocket(Make "channelMap" field final)"Manoop Talasila1-1/+3
2019-02-07Merge "Sonar issue-fix -- (ExternalAppConfig.java)"Manoop Talasila1-4/+2
2019-01-03PeerBroadcastSocket(Make "channelMap" field final)Driptaroop Das1-1/+3
PeerBroadcastSocket.java - Make this "public static channelMap" field final(line:58) Issue-ID: PORTAL-500 Change-Id: Id1227b06e64d37b29c66083da0ef8f37b2c032df Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2018-12-05Sonar Issue Fix - PORTAL-486Driptaroop Das1-9/+3
Remove this method to simply inherit it.(ExternalAppInitializer.java) Issue-ID: PORTAL-486 Change-Id: Ifce3ea6ab7dc58e199f4a93dd75c427eebae9f6c Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2018-12-04Sonar issue-fix -- (ExternalAppConfig.java)Driptaroop Das1-4/+2
Fixed sonar issue - Remove this method to simply inherit it. (ExternalAppConfig.java) Issue-ID: PORTAL-483 Change-Id: Id624b5a9b2bb70f1ab08dbbe0b5669fa63aed1ec Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
2018-11-05Fix typosStanislav Chlebec1-2/+2
Change-Id: I9b8fbaf7ccfd20d5a7ec8075e47e40ae6671812d Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: AAF-582
2018-10-09Add roles to userKotta, Shireesha (sk434m)3-20/+14
Issue-ID: PORTAL-432 add roles to user when the app is centralized Change-Id: I46a782be24ea1804597dc7205bf98170731ffe4d Signed-off-by: Kotta, Shireesha (sk434m) <shireesha.kotta@att.com>
2018-10-03search user changesKishore Reddy, Gujja (kg811t)1-6/+4
Issue-ID: PORTAL-386 failed to create user with special char in login_id Change-Id: I613daa21efed9f6f137bd817a1a8aa2f9669cee8 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kishore.reddy.gujja@att.com>
2018-09-26login and Certman AAF Integration changesKishore Reddy, Gujja (kg811t)6-209/+27
Issue-ID: PORTAL-386, PORTAL-389 failed to create user with special char in login_id Change-Id: I415adf615a7af97319d8d11a740e75d3dfa11583 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-09-12Merge "OpenCollaborationController.Java:fixed sonar issue"Manoop Talasila1-3/+2
2018-09-12Merge "TicketEventServiceImpl : Fixed sonar issue"Manoop Talasila1-3/+3
2018-09-12Merge "LoginStrategy.java : Fixed sonar issue"Manoop Talasila1-0/+3
2018-08-24LoginStrategy.java : Fixed sonar issueArundathi Patil1-0/+3
Fixed sonar issue, annotate interface with @FunctionalInterface annotation Issue-ID: PORTAL-374 Change-Id: I30472b6c18ef350b687d74acce4545c250462f6d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-24TicketEventServiceImpl : Fixed sonar issueArundathi Patil1-3/+3
Fixed below sonar issue at line 52, Immediately return this expression instead of assigning it to the temporary variable 'hyperlink' Issue-ID: PORTAL-364 Change-Id: I33b854b15e163146415040bf98dbd7e992d04b61 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-24OpenCollaborationController.Java:fixed sonar issueArundathi Patil1-3/+2
Fixed the below sonar issue at line number 40 and 41, 'Remove unused imports'. Issue-ID: PORTAL-370 Change-Id: Id009380e96bb38391ae90e599e0f90c6344642ca Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-08-17Sonar CriticalShubhada Ramkrishna Vaze1-0/+2
Either log or rethrow this exception. Change-Id: Icad977130e20d5a4d1fe972be73277b5d45d41b7 Issue-ID: PORTAL-363 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
2018-07-30JUnits for coveragesa282w7-85/+513
Issue-ID: PORTAL-273 JUnits for sonar coverage Change-Id: Icb88d8563164281d29877bbc2de9c8f1f780aa0c Signed-off-by: sa282w <sa282w@att.com>
2018-06-27JUnits for coverageHima Elisetty3-0/+291
Issue-ID: PORTAL-273 JUnits for sonar coverage Change-Id: Ibfa06dcbc7809d9d2598af4ba31dd8c88943aa20 Signed-off-by: Hima Elisetty <hb123f@att.com>
2018-06-13Merge "Adding Junit"Sunder Tattavarada4-0/+199
2018-06-13Merge "Adding Junit"Sunder Tattavarada1-0/+49
2018-06-11Changed ecomp to onap in logback.xmlWelch, Lorraine (lb2391)1-4/+3
Issue-ID: PORTAL-302 Change-Id: I864141df5d5069a23086d3cc7b5c955a0a3fd1c3 Signed-off-by: Welch, Lorraine (lb2391) <lb2391@att.com>
2018-06-05Adding JunitPrasadNaidu1-0/+49
Adding junit in Portal for OnboardingApp.java OnboardingApp.java Sonar Link: https://sonar.onap.org/code?id=org.onap.portal%3Aonap-portal-parent&selected=org.onap.portal%3Aportal-be-os%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportalapp%2Fportal%2Ftransport%2FOnboardingApp.java Location : portal-be-os/src/main/java/org/onap/portalapp/portal/transport/OnboardingApp.java Change-Id: I4324534071724e01254fc35da952aae30dd338c6 Issue-ID: PORTAL-287 Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
2018-06-05Adding Junitsp005016384-0/+199
Junit for: 1.LogJob.java 2.LogRegistry.java 3.Register.java 4.RegistryAdapter.java Sonar link: https://sonar.onap.org/code?id=org.onap.portal%3Aonap-portal-parent&selected=org.onap.portal%3Aportal-be-os%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fportalapp%2Fscheduler Change-Id: I25d8bd6c7fba9757ca8261935ee364244478cef0 Issue-ID: PORTAL-289 Signed-off-by: sp00501638 <sp00501638@techmahindra.com>
2018-05-31Merge "Changed app to redirect when the session expires."Manoop Talasila1-2/+9
2018-05-30Changed app to redirect when the session expires.William Kurkian1-2/+9
Reverted previous change to redirect from incorrect login screens. Instead, navigating to the main application page without a valid session results in being sent to the login page Removed some mistaken changes These didn't relate to the fix Issue-ID: PORTAL-278 Change-Id: I82c4a1ed26ede0119cdc4d1f9b818780ca876801 Signed-off-by: William Kurkian <wkurkian@cisco.com>
2018-05-25Bulk upload changes and music health check apisKishore Reddy, Gujja (kg811t)17-786/+89
Issue-ID: PORTAL-290, PORTAL-291 Bulk upload changes and music health check apis Change-Id: I63d289d75420658ff4a14385a5106838fa8c32b2 Signed-off-by: Kishore Reddy, Gujja (kg811t) <kg811t@research.att.com>
2018-05-03High memory Usage by Portal, SDK, Cassandrast782s1-0/+2
Issue-ID: PORTAL-211 Change-Id: I01a145728ea70190a145005dac4b710100d39524 Signed-off-by: st782s <statta@research.att.com>
2018-04-25Merge "Fix to delete portal admin"Sunder Tattavarada3-398/+1
2018-04-24Fix to delete portal adminHima Elisetty3-398/+1
Issue-ID: PORTAL-220 Portal admin deletion Change-Id: Id7c0b94470e81772d25e3af1a077b327de3f79c4 Change-Id: I620b76c4f20227236655c6ff06bb455890494061 Signed-off-by: Hima Elisetty <hb123f@att.com>
2018-04-23Music Jar dependencyLo, WEI-TING(wl849v)2-7/+1
Issue-ID: PORTAL-210 Music POM update Change-Id: I6808b5585443f8d6bbbb936acfb0d8dc44146d02 Signed-off-by: Lo, WEI-TING(wl849v) <wl849v@att.com>
2018-04-19Replace ecomp referencesHima Elisetty87-94/+93
Issue-ID: PORTAL-19 Remove ecomp trademark Change-Id: I76311f2ab10b2c0d406415ea2f922d1aad993e21 Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-04-18Changes in Users pageHima Elisetty1-0/+1
Issue-ID: PORTAL-256 Fix on Users page modal Change-Id: I44427259c0a6caa9623a884e5127e16de86cff8d Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-04-12Get Roles on Users page for ext appHima Elisetty1-0/+2
Issue-ID: PORTAL-241 Get Roles on Users page for ext app Change-Id: I7f57b681c43dbf59cdb19e7da8eb40e523768d3e Signed-off-by: Hima Elisetty <hbindu@research.att.com>
2018-04-11Change decryption algorithmst782s1-2/+2
Issue-ID: PORTAL-252 Change-Id: I93d7f6bc54ab626e1830d67ac73ff9ec612de82f Signed-off-by: st782s <statta@research.att.com>
2018-03-30Security Vunerabilitiessa282w1-1/+5
Issue-ID: PORTAL-155 Excluded beanshell, nimbus dependency and upgraded the version of spring-security-web and tomcat-embed-core. Change-Id: I2f238d8cdeb61084b1a86099c25b5bd8f30d5e93 Signed-off-by: sa282w <sa282w@att.com>