Package org.apache.bookkeeper.tls
Interface SecurityHandlerFactory
-
- All Known Implementing Classes:
TLSContextFactory
public interface SecurityHandlerFactoryA factory to manage the security handlers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSecurityHandlerFactory.NodeTypeThe security handler type.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetHandlerName()voidinit(SecurityHandlerFactory.NodeType type, AbstractConfiguration conf, io.netty.buffer.ByteBufAllocator allocator)io.netty.handler.ssl.SslHandlernewTLSHandler()default io.netty.handler.ssl.SslHandlernewTLSHandler(java.lang.String host, int port)
-
-
-
Method Detail
-
getHandlerName
java.lang.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
default io.netty.handler.ssl.SslHandler newTLSHandler(java.lang.String host, int port)
-
-