Back to project page dashclock-gerrit.
The source code is released under:
Apache License
If you think the Android project dashclock-gerrit listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.plusonelabs.dashclock.gerrit.auth; /* w w w. java 2s . c om*/ import com.github.kevinsawicki.http.HttpRequest; import com.plusonelabs.dashclock.gerrit.GerritEndpoint; public class AnonymousAuthenticationProvider implements AuthenticationProvider { @Override public void preRequest(GerritEndpoint endpoint) { // nothing to do here } @Override public void supplyCredentials(HttpRequest request, GerritEndpoint endpoint) { // nothing to do here } @Override public boolean isAnonymous() { return true; } }