public class TrustedTokenScheme extends Object implements org.apache.http.auth.ContextAwareAuthScheme, Serializable
| Constructor and Description |
|---|
TrustedTokenScheme(com.atlassian.security.auth.trustedapps.EncryptedCertificate certificate) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.Header |
authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request) |
org.apache.http.Header |
authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
String |
getParameter(String name) |
String |
getRealm() |
String |
getSchemeName() |
boolean |
isComplete() |
boolean |
isConnectionBased() |
void |
processChallenge(org.apache.http.Header header) |
public TrustedTokenScheme(com.atlassian.security.auth.trustedapps.EncryptedCertificate certificate)
public org.apache.http.Header authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.auth.AuthenticationException
authenticate in interface org.apache.http.auth.ContextAwareAuthSchemeorg.apache.http.auth.AuthenticationExceptionpublic void processChallenge(org.apache.http.Header header)
throws org.apache.http.auth.MalformedChallengeException
processChallenge in interface org.apache.http.auth.AuthSchemeorg.apache.http.auth.MalformedChallengeExceptionpublic String getSchemeName()
getSchemeName in interface org.apache.http.auth.AuthSchemepublic String getParameter(String name)
getParameter in interface org.apache.http.auth.AuthSchemepublic String getRealm()
getRealm in interface org.apache.http.auth.AuthSchemepublic boolean isConnectionBased()
isConnectionBased in interface org.apache.http.auth.AuthSchemepublic boolean isComplete()
isComplete in interface org.apache.http.auth.AuthSchemepublic org.apache.http.Header authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request)
throws org.apache.http.auth.AuthenticationException
authenticate in interface org.apache.http.auth.AuthSchemeorg.apache.http.auth.AuthenticationExceptionCopyright © 2019 Atlassian. All rights reserved.