public class TrustedTokenAuthenticator extends HttpClientAuthenticator
TrustedTokenFactory
to a HTTP request and allows for status
reporting on an executed request.
Works along similar lines as the com.atlassian.sal.core.net.auth.TrustedTokenAuthenticator
. Perhaps you want to use that instead?
Modifier and Type | Class and Description |
---|---|
static class |
TrustedTokenAuthenticator.TrustedConnectionStatus
Deprecated.
since 2.10, use
TrustedConnectionStatus |
SIMPLE_PROPERTIES
Constructor and Description |
---|
TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory) |
TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory,
TrustedConnectionStatusBuilder trustedConnectionStatusBuilder) |
TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory,
TrustedConnectionStatusBuilder trustedConnectionStatusBuilder,
TrustedApplicationsManager trustedApplicationsManager) |
Modifier and Type | Method and Description |
---|---|
TrustedTokenAuthenticator.TrustedConnectionStatus |
getTrustedConnectionStatus(org.apache.commons.httpclient.HttpMethod httpMethod)
Deprecated.
|
org.apache.commons.httpclient.HttpMethod |
makeMethod(org.apache.commons.httpclient.HttpClient client,
String url) |
preprocess
getProperty, getPropertyNames, setProperty
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory)
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory, TrustedConnectionStatusBuilder trustedConnectionStatusBuilder)
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory, TrustedConnectionStatusBuilder trustedConnectionStatusBuilder, TrustedApplicationsManager trustedApplicationsManager)
public org.apache.commons.httpclient.HttpMethod makeMethod(org.apache.commons.httpclient.HttpClient client, String url)
makeMethod
in class HttpClientAuthenticator
@Deprecated public TrustedTokenAuthenticator.TrustedConnectionStatus getTrustedConnectionStatus(org.apache.commons.httpclient.HttpMethod httpMethod)
DefaultTrustedConnectionStatusBuilder.getTrustedConnectionStatus(HttpResponse)
httpMethod
- executed HttpClient methodCopyright © 2003–2017 Atlassian. All rights reserved.
View cookie preferences