Skip to content

Commit 8eac5cd

Browse files
committed
Change the comment in backend registry
Signed-off-by: Ryan Liang <jiallian@amazon.com>
1 parent b0ac41a commit 8eac5cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/org/opensearch/security/auth/BackendRegistry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ private User impersonate(final RestRequest request, final User originalUser) thr
608608
for (final AuthDomain authDomain : restAuthDomains) {
609609
final AuthenticationBackend authenticationBackend = authDomain.getBackend();
610610

611+
//Skip over the OnBehalfOfAuthenticator since it is not compatible for user impersonation
611612
if (authDomain.getHttpAuthenticator() instanceof OnBehalfOfAuthenticator) {
612613
continue;
613614
}

0 commit comments

Comments
 (0)