-
Notifications
You must be signed in to change notification settings - Fork 0
FF-109, FF-110 Rework Authentication Architecture #27
Conversation
ups. fix broke tests. |
Codecov Report
@@ Coverage Diff @@
## master #27 +/- ##
============================================
+ Coverage 61.66% 62.19% +0.53%
- Complexity 172 175 +3
============================================
Files 55 56 +1
Lines 566 574 +8
Branches 23 25 +2
============================================
+ Hits 349 357 +8
Misses 211 211
Partials 6 6
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
☑️ Read it
☑️ Tested with Swagger
looks good to me
byte[] decodedValue = Base64.getDecoder().decode(base64encodedUserAndPassword); | ||
decodedUsernameUndPassword = new String(decodedValue, StandardCharsets.UTF_8.toString()); | ||
} catch (UnsupportedEncodingException | IllegalArgumentException ex) { | ||
LOG.warn("Found UnsupportedEncodingException in {}", base64encodedUserAndPassword); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe you shoud not log the password :)
|
||
String[] split = decodedUsernameUndPassword.strip().split(":"); | ||
|
||
if (split.length != 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so ":" is not allowed in the password?
* FF-109 Rework BusinessServices Logic * FF-110 Fixed Tests and Bugs. * Fixed Tests.
As always, changed some .feature files. Updated Tests and businessServices.