Class SocketAddressQueryCallbackHandler
java.lang.Object
org.wildfly.security.auth.callback.SocketAddressQueryCallbackHandler
- All Implemented Interfaces:
CallbackHandler
A callback handler which delegates to another callback handler, passing the local and/or peer socket address to that
callback handler on its first invocation.
- Author:
- David M. Lloyd
-
Constructor Summary
ConstructorsConstructorDescriptionSocketAddressQueryCallbackHandler(CallbackHandler delegate, SocketAddress localAddress, SocketAddress peerAddress) Construct a new instance. -
Method Summary
-
Constructor Details
-
SocketAddressQueryCallbackHandler
public SocketAddressQueryCallbackHandler(CallbackHandler delegate, SocketAddress localAddress, SocketAddress peerAddress) Construct a new instance.- Parameters:
delegate- the callback handler to delegate tolocalAddress- the local socket addresspeerAddress- the peer socket address
-
-
Method Details
-
handle
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-