@NotThreadSafe public abstract class RFC2617Scheme extends AuthSchemeBase implements Serializable
Constructor and Description |
---|
RFC2617Scheme() |
RFC2617Scheme(ChallengeState challengeState)
Deprecated.
(4.3) do not use.
|
RFC2617Scheme(Charset credentialsCharset) |
Modifier and Type | Method and Description |
---|---|
Charset |
getCredentialsCharset() |
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) |
authenticate, getChallengeState, isProxy, processChallenge, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
authenticate, getSchemeName, isComplete, isConnectionBased
@Deprecated public RFC2617Scheme(ChallengeState challengeState)
RFC2617Scheme
with the given challenge
state.public RFC2617Scheme(Charset credentialsCharset)
public RFC2617Scheme()
public Charset getCredentialsCharset()
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
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.