alopresto commented on a change in pull request #4377:
URL: https://github.com/apache/nifi/pull/4377#discussion_r456156909



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/AccessResource.java
##########
@@ -727,10 +729,12 @@ public Response createAccessToken(
         try {
             // attempt to authenticate
             final AuthenticationResponse authenticationResponse = 
loginIdentityProvider.authenticate(new LoginCredentials(username, password));
-            long expiration = 
validateTokenExpiration(authenticationResponse.getExpiration(), 
authenticationResponse.getIdentity());
+            final String rawIdentity = authenticationResponse.getIdentity();
+            long expiration = 
validateTokenExpiration(authenticationResponse.getExpiration(), rawIdentity);

Review comment:
       Another instance of the logs (inside `validateTokenExpiration`) 
reflecting `rawIdentity` vs. `mappedIdentity`. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to