Skip to content

Commit 990ea4c

Browse files
comment fixes
1 parent 43bad90 commit 990ea4c

File tree

1 file changed

+3
-3
lines changed
  • modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3

1 file changed

+3
-3
lines changed

modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3/S3Service.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,11 @@ public CompletableFuture<? extends AwsCredentialsIdentity> resolveIdentity() {
463463
}
464464

465465
/**
466-
* Customizes {@link StsAssumeRoleWithWebIdentityCredentialsProvider}.
466+
* Customizes {@link StsWebIdentityTokenFileCredentialsProvider}.
467467
*
468468
* <ul>
469469
* <li>Reads the location of the web identity token not from AWS_WEB_IDENTITY_TOKEN_FILE, but from a symlink
470-
* in the plugin directory, so we don't need to create a hardcoded read file permission for the plugin.</li>
470+
* in the S3 plugin directory, so we don't need to create a hardcoded read file permission for the plugin.</li>
471471
* <li>Supports customization of the STS (Security Token Service) endpoint via a system property, so we can
472472
* test it against a test fixture.</li>
473473
* <li>Supports gracefully shutting down the provider and the STS client.</li>
@@ -569,7 +569,7 @@ public String toString() {
569569
}
570570

571571
/**
572-
* Sets up a {@link FileWatcher} that runs {@link StsAssumeRoleWithWebIdentityCredentialsProvider#resolveCredentials()} whenever the
572+
* Sets up a {@link FileWatcher} that runs {@link StsWebIdentityTokenFileCredentialsProvider#resolveCredentials()} whenever the
573573
* file to which {@code webIdentityTokenFileSymlink} refers gets updated.
574574
*/
575575
private void setupFileWatcherToRefreshCredentials(Path webIdentityTokenFileSymlink, ResourceWatcherService resourceWatcherService) {

0 commit comments

Comments
 (0)