aliyun / aliyun/alibabacloud-java-async-sdk

Adding a new custom interceptor in the STS Async SDK

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue
Dominant language
Java
Stars
34
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hello Team,
As part of using the Alicloud auth method in Hashicorp vault, it was advised to add a new request interceptor and the intercept the request to obtain the headers as well as the request URL. Unfortunately, I do not find a way to add a new interceptor in the already existing interceptor chain (builder classes do not have any public methods or the classes are final which prevent extending them). Is there any way in which we can add a new custom interceptor?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing interceptor chain and its builder classes in the SDK. Define how a caller should add a custom request interceptor and verify that it can access the request headers and URL; the issue does not name specific files or tests, so the extension point and acceptance checks need clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.