Works along similar lines as the com.atlassian.sal.core.net.auth.TrustedTokenAuthenticator. Perhaps you want to use that instead?
@Deprecated public class TrustedTokenAuthenticator extends HttpClientAuthenticator
TrustedTokenFactory to a HTTP request and allows for status
reporting on an executed request.SIMPLE_PROPERTIES| Constructor and Description |
|---|
TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory)
Deprecated.
|
TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory,
TrustedApplicationsManager trustedApplicationsManager)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.HttpMethod |
makeMethod(org.apache.commons.httpclient.HttpClient client,
String url)
Deprecated.
|
preprocessgetProperty, getPropertyNames, setPropertypublic TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory)
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory, TrustedApplicationsManager trustedApplicationsManager)
public org.apache.commons.httpclient.HttpMethod makeMethod(org.apache.commons.httpclient.HttpClient client,
String url)
makeMethod in class HttpClientAuthenticatorCopyright © 2003–2022 Atlassian. All rights reserved.