Class HTTPDigestAuthentication
java.lang.Object
org.tmatesoft.svn.core.internal.io.dav.http.HTTPAuthentication
org.tmatesoft.svn.core.internal.io.dav.http.HTTPDigestAuthentication
- Version:
- 1.3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
private String
createDigest
(String uname, char[] pwd, String charset) private static String
encode
(byte[] binaryData) private static String
formatNC
(int nc) private String
getParameter
(String name) private String
getParameter
(String name, String defaultValue) void
init()
Methods inherited from class org.tmatesoft.svn.core.internal.io.dav.http.HTTPAuthentication
clear, clear, getASCIIBytes, getBytes, getBytes, getChallengeParameter, getChallengeParameters, getPassword, getRawUserName, getUserName, isSchemeSupportedByServer, parseAuthParameters, setChallengeParameter, setCredentials, setPassword, setUserName
-
Field Details
-
HEXADECIMAL
private static final char[] HEXADECIMAL -
myCnonce
-
myQop
-
myLastNonce
-
myNC
private int myNC -
myCharset
-
-
Constructor Details
-
HTTPDigestAuthentication
-
-
Method Details
-
init
- Throws:
SVNException
-
authenticate
- Specified by:
authenticate
in classHTTPAuthentication
- Throws:
SVNException
-
getAuthenticationScheme
- Specified by:
getAuthenticationScheme
in classHTTPAuthentication
-
createDigest
- Throws:
SVNException
-
getParameter
-
getParameter
-
createCnonce
-
encode
-
formatNC
-