Package org.eclipse.jgit.transport
Class HttpAuthMethod.Digest
java.lang.Object
org.eclipse.jgit.transport.HttpAuthMethod
org.eclipse.jgit.transport.HttpAuthMethod.Digest
- Enclosing class:
- HttpAuthMethod
Performs HTTP digest authentication.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.transport.HttpAuthMethod
HttpAuthMethod.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final char[]
private String
private static final SecureRandom
private int
private String
Fields inherited from class org.eclipse.jgit.transport.HttpAuthMethod
EMPTY_STRING, SCHEMA_NAME_SEPARATOR, type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
Update this method with the given username and password pair.(package private) void
Update connection properties based on this authentication method.private static String
private static String
private static String
LHEX
(byte[] bin) private static MessageDigest
newMD5()
private static String
Methods inherited from class org.eclipse.jgit.transport.HttpAuthMethod
authorize, getType, scanResponse
-
Field Details
-
PRNG
-
params
-
requestCount
private int requestCount -
user
-
pass
-
LHEX
private static final char[] LHEX
-
-
Constructor Details
-
Digest
Digest(String hdr)
-
-
Method Details
-
authorize
Description copied from class:HttpAuthMethod
Update this method with the given username and password pair.- Specified by:
authorize
in classHttpAuthMethod
-
configureRequest
Description copied from class:HttpAuthMethod
Update connection properties based on this authentication method.- Specified by:
configureRequest
in classHttpAuthMethod
- Throws:
IOException
-
uri
-
H
-
KD
-
newMD5
-
LHEX
-
parse
-