public static class DseGSSAPIAuthProvider.Builder extends Object
Modifier and Type | Method and Description |
---|---|
DseGSSAPIAuthProvider |
build() |
DseGSSAPIAuthProvider.Builder |
withAuthorizationId(String authorizationId) |
DseGSSAPIAuthProvider.Builder |
withLoginConfiguration(Configuration loginConfiguration) |
DseGSSAPIAuthProvider.Builder |
withSaslProtocol(String saslProtocol) |
DseGSSAPIAuthProvider.Builder |
withSubject(Subject subject) |
public DseGSSAPIAuthProvider.Builder withLoginConfiguration(Configuration loginConfiguration)
loginConfiguration
- The login configuration to use to create a LoginContext
. If
withSubject(javax.security.auth.Subject)
is also used, this input is not used.public DseGSSAPIAuthProvider.Builder withSaslProtocol(String saslProtocol)
saslProtocol
- The SASL protocol name to use; should match the username of the
Kerberos service principal used by the DSE server.public DseGSSAPIAuthProvider.Builder withAuthorizationId(String authorizationId)
authorizationId
- The authorization ID (allows proxy authentication).public DseGSSAPIAuthProvider.Builder withSubject(Subject subject)
subject
- A previously authenticated subject to reuse. If provided, any calls to
withLoginConfiguration(javax.security.auth.login.Configuration)
are ignored.public DseGSSAPIAuthProvider build()
Copyright © 2012–2017. All rights reserved.