public class KnoxTokenCredentialCollector extends AbstractCredentialCollector
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTOR_TYPE |
prompt, value| Constructor and Description |
|---|
KnoxTokenCredentialCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collect() |
protected String |
getCachedKnoxToken() |
String |
getEndpointClientCertPEM() |
long |
getExpiresIn() |
String |
getTargetUrl() |
String |
getTokenType() |
String |
type() |
public static final String COLLECTOR_TYPE
public void collect()
throws CredentialCollectionException
CredentialCollectionExceptionprotected String getCachedKnoxToken() throws IOException
IOExceptionpublic String getTargetUrl()
public String getTokenType()
public String getEndpointClientCertPEM()
public long getExpiresIn()
public String type()
Copyright © 2023 The Apache Software Foundation. All rights reserved.