@Contract(threading=IMMUTABLE) public class DefaultAsyncUserTokenHandler extends Object implements UserTokenHandler
UserTokenHandlerfor asynchrounous HTTP client communication. This class will use an instance of
Principalas a state object for non-blocking HTTP connections, if it can be obtained from the given execution context. This helps ensure persistent connections created with a particular user identity within a particular security context can be reused by the same user only.
This implementation will use the user principle of connection based
authentication schemes such as NTLM or that of the SSL session with
the client authentication turned on. If both are unavailable,
null token will be returned.
|Modifier and Type||Field and Description|
|Constructor and Description|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.