Package org.wildfly.security.sasl.util
Class SSLQueryCallbackHandler
java.lang.Object
org.wildfly.security.sasl.util.SSLQueryCallbackHandler
- All Implemented Interfaces:
CallbackHandler
A callback handler which delegates to another callback handler, passing the authentication's SSL/TLS information to that
callback handler on its first invocation.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionSSLQueryCallbackHandler(CallbackHandler delegate, Supplier<SSLConnection> sslConnectionSupplier) Construct a new instance. -
Method Summary
-
Constructor Details
-
SSLQueryCallbackHandler
public SSLQueryCallbackHandler(CallbackHandler delegate, Supplier<SSLConnection> sslConnectionSupplier) Construct a new instance.- Parameters:
delegate- the delegate callback handlersslConnectionSupplier- supplier for the current SSL connection
-
-
Method Details
-
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-