Package org.apache.bookkeeper.tls
Interface SecurityHandlerFactory
- All Known Implementing Classes:
TLSContextFactory
public interface SecurityHandlerFactory
A factory to manage the security handlers.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe security handler type. -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(SecurityHandlerFactory.NodeType type, AbstractConfiguration conf, io.netty.buffer.ByteBufAllocator allocator) io.netty.handler.ssl.SslHandlerdefault io.netty.handler.ssl.SslHandlernewTLSHandler(String host, int port)
-
Method Details
-
getHandlerName
String getHandlerName() -
init
void init(SecurityHandlerFactory.NodeType type, AbstractConfiguration conf, io.netty.buffer.ByteBufAllocator allocator) throws SecurityException - Throws:
SecurityException
-
newTLSHandler
io.netty.handler.ssl.SslHandler newTLSHandler() -
newTLSHandler
-