Skip to content

Commit fb79f8a

Browse files
committed
Move to class.
1 parent 2653fb9 commit fb79f8a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hub/src/main/java/cloud/katta/protocols/s3/STSChainedAssumeRoleRequestInterceptor.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ public STSChainedAssumeRoleRequestInterceptor(final OAuth2RequestInterceptor oau
5757
this.vaultId = HostPreferencesFactory.get(host).getProperty(S3AssumeRoleProtocol.OAUTH_TOKENEXCHANGE_VAULT);
5858
}
5959

60+
@Override
61+
protected String getWebIdentityToken(final OAuthTokens oauth) {
62+
return oauth.getAccessToken();
63+
}
64+
6065
/**
6166
* Assume role with previously obtained temporary access token
6267
*

0 commit comments

Comments
 (0)