Class HTTPDigestAuthentication
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.io.dav.http.HTTPAuthentication
-
- org.tmatesoft.svn.core.internal.io.dav.http.HTTPDigestAuthentication
-
class HTTPDigestAuthentication extends HTTPAuthentication
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private static char[]HEXADECIMALprivate java.lang.StringmyCharsetprivate java.lang.StringmyCnonceprivate java.lang.StringmyLastNonceprivate intmyNCprivate java.lang.StringmyQop
-
Constructor Summary
Constructors Modifier Constructor Description protectedHTTPDigestAuthentication(java.lang.String charset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringauthenticate()private java.lang.StringcreateCnonce()private java.lang.StringcreateDigest(java.lang.String uname, char[] pwd, java.lang.String charset)private static java.lang.Stringencode(byte[] binaryData)private static java.lang.StringformatNC(int nc)java.lang.StringgetAuthenticationScheme()private java.lang.StringgetParameter(java.lang.String name)private java.lang.StringgetParameter(java.lang.String name, java.lang.String defaultValue)voidinit()-
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
-
-
-
-
Method Detail
-
init
public void init() throws SVNException- Throws:
SVNException
-
authenticate
public java.lang.String authenticate() throws SVNException- Specified by:
authenticatein classHTTPAuthentication- Throws:
SVNException
-
getAuthenticationScheme
public java.lang.String getAuthenticationScheme()
- Specified by:
getAuthenticationSchemein classHTTPAuthentication
-
createDigest
private java.lang.String createDigest(java.lang.String uname, char[] pwd, java.lang.String charset) throws SVNException- Throws:
SVNException
-
getParameter
private java.lang.String getParameter(java.lang.String name)
-
getParameter
private java.lang.String getParameter(java.lang.String name, java.lang.String defaultValue)
-
createCnonce
private java.lang.String createCnonce()
-
encode
private static java.lang.String encode(byte[] binaryData)
-
formatNC
private static java.lang.String formatNC(int nc)
-
-