public abstract class HTTPAuthScope extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.http.auth.AuthScope |
ANY |
static String |
ANY_PRINCIPAL |
Constructor and Description |
---|
HTTPAuthScope() |
Modifier and Type | Method and Description |
---|---|
static org.apache.http.auth.AuthScope |
deserializeScope(ObjectInputStream oos) |
static boolean |
equivalent(org.apache.http.auth.AuthScope a1,
org.apache.http.auth.AuthScope a2)
Equivalence algorithm:
if any field is ANY_XXX, then they are equivalent.
|
static boolean |
identical(org.apache.http.auth.AuthScope a1,
org.apache.http.auth.AuthScope a2) |
static void |
serializeScope(org.apache.http.auth.AuthScope scope,
ObjectOutputStream oos) |
static org.apache.http.auth.AuthScope |
urlToScope(String authscheme,
String surl,
String[] principalp)
Create an AuthScope from a URL; pull out any principal
|
static boolean |
wildcardMatch(String p1,
String p2) |
public static final String ANY_PRINCIPAL
public static final org.apache.http.auth.AuthScope ANY
public static boolean equivalent(org.apache.http.auth.AuthScope a1, org.apache.http.auth.AuthScope a2)
public static boolean identical(org.apache.http.auth.AuthScope a1, org.apache.http.auth.AuthScope a2)
public static org.apache.http.auth.AuthScope urlToScope(String authscheme, String surl, String[] principalp) throws HTTPException
surl
- to convertprincipalp
- to store principal from urlHTTPException
public static void serializeScope(org.apache.http.auth.AuthScope scope, ObjectOutputStream oos) throws IOException
IOException
public static org.apache.http.auth.AuthScope deserializeScope(ObjectInputStream oos) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.