public abstract class RFC2617Scheme extends AuthSchemeBase implements Serializable
Modifier and Type | Field and Description |
---|---|
private Charset |
credentialsCharset |
private Map<String,String> |
params |
private static long |
serialVersionUID |
challengeState
Constructor and Description |
---|
RFC2617Scheme() |
RFC2617Scheme(ChallengeState challengeState)
Deprecated.
(4.3) do not use.
|
RFC2617Scheme(Charset credentialsCharset) |
Modifier and Type | Method and Description |
---|---|
Charset |
getCredentialsCharset() |
(package private) String |
getCredentialsCharset(HttpRequest request) |
String |
getParameter(String name)
Returns authentication parameter with the given name, if available.
|
protected Map<String,String> |
getParameters()
Returns authentication parameters map.
|
String |
getRealm()
Returns authentication realm.
|
protected void |
parseChallenge(CharArrayBuffer buffer,
int pos,
int len) |
private void |
readObject(ObjectInputStream in) |
private void |
readObjectNoData() |
private void |
writeObject(ObjectOutputStream out) |
authenticate, getChallengeState, isProxy, processChallenge, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
authenticate, getSchemeName, isComplete, isConnectionBased
private static final long serialVersionUID
private transient Charset credentialsCharset
@Deprecated public RFC2617Scheme(ChallengeState challengeState)
RFC2617Scheme
with the given challenge
state.public RFC2617Scheme(Charset credentialsCharset)
public RFC2617Scheme()
public Charset getCredentialsCharset()
String getCredentialsCharset(HttpRequest request)
protected void parseChallenge(CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
protected Map<String,String> getParameters()
public String getParameter(String name)
getParameter
in interface AuthScheme
name
- The name of the parameter to be returnedpublic String getRealm()
getRealm
in interface AuthScheme
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses