com.atlassian.confluence.util.http.httpclient
Class TrustedTokenAuthenticator
java.lang.Object
com.atlassian.confluence.util.http.Authenticator
com.atlassian.confluence.util.http.httpclient.HttpClientAuthenticator
com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator
- All Implemented Interfaces:
- java.io.Serializable
public class TrustedTokenAuthenticator
- extends HttpClientAuthenticator
Authenticator that attaches a token from a 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?
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustedTokenAuthenticator
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory)
TrustedTokenAuthenticator
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory,
TrustedConnectionStatusBuilder trustedConnectionStatusBuilder)
TrustedTokenAuthenticator
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory,
TrustedConnectionStatusBuilder trustedConnectionStatusBuilder,
TrustedApplicationsManager trustedApplicationsManager)
makeMethod
public org.apache.commons.httpclient.HttpMethod makeMethod(org.apache.commons.httpclient.HttpClient client,
java.lang.String url)
- Overrides:
makeMethod
in class HttpClientAuthenticator
getTrustedConnectionStatus
@Deprecated
public TrustedTokenAuthenticator.TrustedConnectionStatus getTrustedConnectionStatus(org.apache.commons.httpclient.HttpMethod httpMethod)
- Deprecated. As of Confluence 2.10, use
DefaultTrustedConnectionStatusBuilder.getTrustedConnectionStatus(HttpResponse)
- Return the status of a trusted application response
- Parameters:
httpMethod
- executed HttpClient method
- Returns:
- trusted connection status or null if the request was not a trusted application request
Copyright © 2003-2013 Atlassian. All Rights Reserved.