public class DelegationTokenConfigurator extends Object implements ClientConfigurator
Configurator that injects a delegation token on every request.
| Modifier and Type | Class and Description |
|---|---|
static class |
DelegationTokenConfigurator.DelegationTokenClientFilter
Filter that injects delegation token into the request (for either obo or delegation request)
|
| Constructor and Description |
|---|
DelegationTokenConfigurator(String delegationToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
customizeBuilder(javax.ws.rs.client.ClientBuilder builder)
Customize the ClientBuilder instance.
|
void |
customizeClient(javax.ws.rs.client.Client client)
Customize the Client generated by the builder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomizeRequest@ConstructorProperties(value="delegationToken") public DelegationTokenConfigurator(String delegationToken)
public void customizeBuilder(javax.ws.rs.client.ClientBuilder builder)
ClientConfiguratorCustomize the ClientBuilder instance.
customizeBuilder in interface ClientConfiguratorbuilder - The client builder.public void customizeClient(javax.ws.rs.client.Client client)
ClientConfiguratorCustomize the Client generated by the builder.
customizeClient in interface ClientConfiguratorclient - The client.Copyright © 2016–2022. All rights reserved.