Package net.i2p.util
Class EepGet.AuthState
java.lang.Object
net.i2p.util.EepGet.AuthState
- Enclosing class:
EepGet
Manage the authentication parameters
Ref: RFC 2617
Supports both Basic and Digest, however i2ptunnel HTTP proxy
has migrated all previous Basic support to Digest.
- Since:
- 0.9.12
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateAuthArgs
(String method, String uri) Generate the digest authentication parameters Ref: RFC 2617getAuthHeader
(String method, String uri) void
setAuthChallenge
(String auth) May be called multiple times, save the best one
-
Field Details
-
authMode
-
authSent
public boolean authSent
-
-
Constructor Details
-
AuthState
-
-
Method Details
-
setAuthChallenge
May be called multiple times, save the best one -
getAuthHeader
- Throws:
IOException
-
generateAuthArgs
Generate the digest authentication parameters Ref: RFC 2617- Throws:
IOException
- Since:
- 0.9.12 modified from I2PTunnelHTTPClientBase.validateDigest()
-
getUsername
- Since:
- 0.9.33
-
getPassword
- Since:
- 0.9.33
-