|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.http.Authenticator com.atlassian.confluence.util.http.httpclient.HttpClientAuthenticator com.atlassian.confluence.util.http.httpclient.TrustedTokenAuthenticator
public class TrustedTokenAuthenticator
Authenticator that attaches a token from a TrustedTokenFactory
to a HTTP request and allows for status
reporting on an executed request
Nested Class Summary | |
---|---|
static class |
TrustedTokenAuthenticator.TrustedConnectionStatus
Represents the status of a trusted connection response |
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.util.http.Authenticator |
---|
SIMPLE_PROPERTIES |
Constructor Summary | |
---|---|
TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory)
|
Method Summary | |
---|---|
TrustedTokenAuthenticator.TrustedConnectionStatus |
getTrustedConnectionStatus(org.apache.commons.httpclient.HttpMethod httpMethod)
Return the status of a trusted application response |
org.apache.commons.httpclient.HttpMethod |
makeMethod(org.apache.commons.httpclient.HttpClient client,
java.lang.String url)
|
Methods inherited from class com.atlassian.confluence.util.http.httpclient.HttpClientAuthenticator |
---|
preprocess |
Methods inherited from class com.atlassian.confluence.util.http.Authenticator |
---|
getProperty, getPropertyNames, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TrustedTokenAuthenticator(TrustedTokenFactory trustedTokenFactory)
Method Detail |
---|
public org.apache.commons.httpclient.HttpMethod makeMethod(org.apache.commons.httpclient.HttpClient client, java.lang.String url)
makeMethod
in class HttpClientAuthenticator
public TrustedTokenAuthenticator.TrustedConnectionStatus getTrustedConnectionStatus(org.apache.commons.httpclient.HttpMethod httpMethod)
httpMethod
- executed HttpClient method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |