public class RBACRequestAuthHeaderProvider extends Object implements org.apache.servicecomb.foundation.auth.AuthHeaderProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTH_HEADER |
static String |
CACHE_KEY |
static String |
INVALID_TOKEN |
| Constructor and Description |
|---|
RBACRequestAuthHeaderProvider(DiscoveryBootstrapProperties discoveryProperties,
ServiceCombSSLProperties serviceCombSSLProperties,
ServiceCombRBACProperties serviceCombRBACProperties) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
authHeaders() |
protected org.apache.servicecomb.service.center.client.model.RbacTokenResponse |
callCreateHeaders() |
protected String |
createHeaders() |
void |
onNotPermittedEvent(org.apache.servicecomb.service.center.client.OperationEvents.UnAuthorizedOperationEvent event) |
protected long |
refreshTime() |
public static final String INVALID_TOKEN
public static final String CACHE_KEY
public static final String AUTH_HEADER
public RBACRequestAuthHeaderProvider(DiscoveryBootstrapProperties discoveryProperties, ServiceCombSSLProperties serviceCombSSLProperties, ServiceCombRBACProperties serviceCombRBACProperties)
public void onNotPermittedEvent(org.apache.servicecomb.service.center.client.OperationEvents.UnAuthorizedOperationEvent event)
protected String createHeaders()
protected org.apache.servicecomb.service.center.client.model.RbacTokenResponse callCreateHeaders()
protected long refreshTime()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.