public interface Authenticator
authenticate(Map) method directly if
required for protocols that don't easily support SASL.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Authenticator.SaslNegotiator
Performs the actual SASL negotiation for a single authentication attempt.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticatedUser |
authenticate(Map<String,String> credentials)
A "standard" authentication implementation that can be used more generically without SASL support.
|
Authenticator.SaslNegotiator |
newSaslNegotiator(InetAddress remoteAddress)
Provide a SASL handler to perform authentication for an single connection.
|
boolean |
requireAuthentication()
Whether or not the authenticator requires explicit login.
|
void |
setup(Map<String,Object> config)
Setup is called once upon system startup to initialize the
Authenticator. |
boolean requireAuthentication()
void setup(Map<String,Object> config)
Authenticator.Authenticator.SaslNegotiator newSaslNegotiator(InetAddress remoteAddress)
remoteAddress - the IP address of the client to authenticate to authenticate or null if an internal
client (one not connected over the remote transport).AuthenticatedUser authenticate(Map<String,String> credentials) throws AuthenticationException
Channelizer doesn't support SASL directly (like basic
HTTP authentication).AuthenticationExceptionCopyright © 2013–2019 Apache Software Foundation. All rights reserved.