public final class AllowAllAuthenticator extends Object implements Authenticator
Authenticator.SaslNegotiator
Constructor and Description |
---|
AllowAllAuthenticator() |
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()
Deprecated.
As of release 3.1.1-incubating, replaced by
Authenticator.newSaslNegotiator(InetAddress) . |
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 . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newSaslNegotiator
public boolean requireAuthentication()
Authenticator
requireAuthentication
in interface Authenticator
public void setup(Map<String,Object> config)
Authenticator
Authenticator
.setup
in interface Authenticator
public AuthenticatedUser authenticate(Map<String,String> credentials) throws AuthenticationException
Authenticator
Channelizer
doesn't support SASL directly (like basic
HTTP authentication).authenticate
in interface Authenticator
AuthenticationException
@Deprecated public Authenticator.SaslNegotiator newSaslNegotiator()
Authenticator.newSaslNegotiator(InetAddress)
.Authenticator
newSaslNegotiator
in interface Authenticator
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.