public class HTTPAuthStore
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
HTTPAuthStore.Scope |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
protected HTTPAuthStore |
parent |
protected java.util.Map<java.lang.String,java.util.List<HTTPAuthStore.Scope>> |
rows |
static boolean |
TESTING |
| Constructor and Description |
|---|
HTTPAuthStore() |
HTTPAuthStore(HTTPAuthStore parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all auth store entries
|
java.util.List<HTTPAuthStore.Scope> |
getAllRows()
Return all entries in the auth store
|
protected java.util.List<HTTPAuthStore.Scope> |
getScopes(java.lang.String scheme) |
org.apache.http.client.CredentialsProvider |
insert(org.apache.http.auth.AuthScope scope,
org.apache.http.client.CredentialsProvider provider) |
org.apache.http.client.CredentialsProvider |
lookup(org.apache.http.auth.AuthScope scope) |
org.apache.http.client.CredentialsProvider |
remove(org.apache.http.auth.AuthScope scope) |
public static org.slf4j.Logger log
public static boolean TESTING
protected java.util.Map<java.lang.String,java.util.List<HTTPAuthStore.Scope>> rows
protected HTTPAuthStore parent
public HTTPAuthStore()
public HTTPAuthStore(HTTPAuthStore parent)
public org.apache.http.client.CredentialsProvider insert(org.apache.http.auth.AuthScope scope,
org.apache.http.client.CredentialsProvider provider)
throws HTTPException
scope - provider - HTTPExceptionpublic org.apache.http.client.CredentialsProvider remove(org.apache.http.auth.AuthScope scope)
throws HTTPException
scope - HTTPExceptionpublic void clear()
public java.util.List<HTTPAuthStore.Scope> getAllRows()
public org.apache.http.client.CredentialsProvider lookup(org.apache.http.auth.AuthScope scope)
protected java.util.List<HTTPAuthStore.Scope> getScopes(java.lang.String scheme)