xinyiZzz opened a new issue, #38911:
URL: https://github.com/apache/arrow/issues/38911
### Describe the usage question you have. Please include as many useful
details as possible.
Now I implement `CallHeaderAuthenticator` in Java, and Override `AuthResult
authenticate(CallHeaders incomingHeaders)`.
```
xxx implements CallHeaderAuthenticator {
@Override
public AuthResult authenticate(CallHeaders incomingHeaders) {
}
}
```
Then, `BasicCallHeaderAuthenticator` can decode username and password from
`incomingHeaders`. I implements
`BasicCallHeaderAuthenticator.CredentialValidator` and Override `AuthResult
validate(String username, String password)` to complete authentication of
username and password.
```
xxx implements BasicCallHeaderAuthenticator.CredentialValidator {
@Override
public AuthResult validate(String username, String password) {
}
}
```
But in my database(Apache Doris), the client's IP will also participate in
authentication, so is there a way to get the ADBC client's IP in Flight Server?
Thanks for your help.
### Component(s)
FlightRPC
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]