Methods Summary |
---|
public org.apache.http.Header | authenticate(org.apache.http.auth.Credentials credentials, org.apache.http.HttpRequest request)Produces an authorization string for the given set of {@link Credentials}.
|
public java.lang.String | getParameter(java.lang.String name)Returns authentication parameter with the given name, if available.
|
public java.lang.String | getRealm()Returns authentication realm. If the concept of an authentication
realm is not applicable to the given authentication scheme, returns
null .
|
public java.lang.String | getSchemeName()Returns textual designation of the given authentication scheme.
|
public boolean | isComplete()Authentication process may involve a series of challenge-response exchanges.
This method tests if the authorization process has been completed, either
successfully or unsuccessfully, that is, all the required authorization
challenges have been processed in their entirety.
|
public boolean | isConnectionBased()Tests if the authentication scheme is provides authorization on a per
connection basis instead of usual per request basis
|
public void | processChallenge(org.apache.http.Header header)Processes the given challenge token. Some authentication schemes
may involve multiple challenge-response exchanges. Such schemes must be able
to maintain the state information when dealing with sequential challenges
|