public class Auth extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Auth.Scheme
Common HTTP authentication schemes, and some non-http specified but
common ones
|
| Constructor and Description |
|---|
Auth(Auth.Scheme scheme,
String user,
Object userTag) |
Auth(String sAuth) |
Auth(String user,
Object userTag) |
| Modifier and Type | Method and Description |
|---|---|
static Charset |
getBasicParCharset() |
String |
getCnonce() |
String |
getNc() |
String |
getNonce() |
String |
getPassword() |
String |
getQop() |
String |
getRealm() |
String |
getResponseDigest() |
Auth.Scheme |
getScheme() |
Object |
getTag()
Holds application specific user data, as returned from the authenticate
method on Resource
This should be used to test for a valid login.
|
String |
getUri() |
String |
getUser() |
boolean |
isNonceStale() |
void |
setNonceStale(boolean nonceStale)
set by digest auth processing.
|
void |
setTag(Object authTag)
Set after a successful authenticate method with a not-null value
The actual value will be application dependent
|
String |
toString() |
public Auth(String sAuth)
public Auth(Auth.Scheme scheme, String user, Object userTag)
public static Charset getBasicParCharset()
public String getUser()
public void setTag(Object authTag)
authTag - public Object getTag()
public String getPassword()
public Auth.Scheme getScheme()
public String getCnonce()
public String getNc()
public String getNonce()
public String getQop()
public String getRealm()
public String getResponseDigest()
public String getUri()
public boolean isNonceStale()
public void setNonceStale(boolean nonceStale)
nonceStale -