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 Classes Modifier and Type Interface Description static class
SecurityHandlerFactory.NodeType
The security handler type.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getHandlerName()
void
init(SecurityHandlerFactory.NodeType type, AbstractConfiguration conf, io.netty.buffer.ByteBufAllocator allocator)
io.netty.handler.ssl.SslHandler
newTLSHandler()
default io.netty.handler.ssl.SslHandler
newTLSHandler(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)
-
-