"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java/org/apache/http/impl/auth/DigestScheme.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

DigestScheme.java  (httpcomponents-client-4.5.6-src):DigestScheme.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 155 skipping to change at line 155
/** /**
* Tests if the Digest authentication process has been completed. * Tests if the Digest authentication process has been completed.
* *
* @return {@code true} if Digest authorization has been processed, * @return {@code true} if Digest authorization has been processed,
* {@code false} otherwise. * {@code false} otherwise.
*/ */
@Override @Override
public boolean isComplete() { public boolean isComplete() {
final String s = getParameter("stale"); final String s = getParameter("stale");
if ("true".equalsIgnoreCase(s)) { return "true".equalsIgnoreCase(s) ? false : this.complete;
return false;
} else {
return this.complete;
}
} }
/** /**
* Returns textual designation of the digest authentication scheme. * Returns textual designation of the digest authentication scheme.
* *
* @return {@code digest} * @return {@code digest}
*/ */
@Override @Override
public String getSchemeName() { public String getSchemeName() {
return "digest"; return "digest";
 End of changes. 1 change blocks. 
5 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)