Minor cleanups for BasicAuthenticationFilter 94/106394/2
authorChris André <chris.andre@yoppworks.com>
Wed, 22 Apr 2020 00:51:42 +0000 (20:51 -0400)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Thu, 23 Apr 2020 05:36:35 +0000 (05:36 +0000)
commita994931dc349c93ba9b5c9bc7b517b9dd89a10cc
tree94ff746e08c19ad529a5b7c0f64a0a714477c43e
parentc829bbcfc9505a3ebf6035b53274f8bf22c34cff
Minor cleanups for BasicAuthenticationFilter

- Changed String representing encoding to Java's StandardCharsets.UTF_8
- Added explicit else condition in order to not rely on `abortWith`'s side effects

Issue-ID: SDC-2917
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I81cb94c399ff1d810e85c7b63fde195928ab1b08
catalog-be/src/main/java/org/openecomp/sdc/be/filters/BasicAuthenticationFilter.java