Package org.apache.bookkeeper.sasl
Class SASLBookieAuthProvider
- java.lang.Object
-
- org.apache.bookkeeper.sasl.SASLBookieAuthProvider
-
- All Implemented Interfaces:
BookieAuthProvider
public class SASLBookieAuthProvider extends java.lang.Object implements BookieAuthProvider
SASL Bookie Authentication Provider.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.bookkeeper.auth.BookieAuthProvider
BookieAuthProvider.Factory
-
-
Constructor Summary
Constructors Constructor Description SASLBookieAuthProvider(BookieConnectionPeer addr, AuthCallbacks.GenericCallback<java.lang.Void> completeCb, ServerConfiguration serverConfiguration, javax.security.auth.Subject subject, java.util.regex.Pattern allowedIdsPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(AuthToken m, AuthCallbacks.GenericCallback<AuthToken> cb)
Process a request from the client.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.bookkeeper.auth.BookieAuthProvider
close, onProtocolUpgrade
-
-
-
-
Constructor Detail
-
SASLBookieAuthProvider
SASLBookieAuthProvider(BookieConnectionPeer addr, AuthCallbacks.GenericCallback<java.lang.Void> completeCb, ServerConfiguration serverConfiguration, javax.security.auth.Subject subject, java.util.regex.Pattern allowedIdsPattern)
-
-
Method Detail
-
process
public void process(AuthToken m, AuthCallbacks.GenericCallback<AuthToken> cb)
Description copied from interface:BookieAuthProvider
Process a request from the client. cb will receive the next message to be sent to the client. If there are no more messages to send to the client, cb should not be called, and completeCb must be called instead.- Specified by:
process
in interfaceBookieAuthProvider
-
-