public static class KerberosTokenProvider.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
KerberosTokenProvider |
build()
Builds the instance of the KerberosTokenProvider.
|
KerberosTokenProvider.Builder |
withClientPrincipal(java.lang.String clientPrincipal)
Sets the client principal for the HTTP token requests.
|
KerberosTokenProvider.Builder |
withKeyTabFile(java.io.File file)
Sets the keyTabFile for the HTTP token requests.
|
public KerberosTokenProvider.Builder withClientPrincipal(java.lang.String clientPrincipal)
clientPrincipal
- The client principal for the HTTP token requests.public KerberosTokenProvider.Builder withKeyTabFile(java.io.File file)
file
- The keyTabFile for the HTTP token requests.public KerberosTokenProvider build()