public final class KerberosTokenProvider
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
KerberosTokenProvider.Builder
Builder class for configuring and creating instances of KerberosTokenProvider.
|
Modifier and Type | Method and Description |
---|---|
static KerberosTokenProvider.Builder |
builder()
Creates a new instance of the KerberosTokenProvider.Builder
|
void |
close()
Closes the KerberosTokenProvider and releases any underlying resources.
|
byte[] |
getTokenData()
Acquire the data of token for authentication.
|
boolean |
hasTokenData()
Judge whether AuthDataProvider can provide token data.
|
public boolean hasTokenData()
public byte[] getTokenData()
public void close() throws java.io.IOException
java.io.IOException
public static KerberosTokenProvider.Builder builder()