Searched refs:Credentials (Results 1 - 25 of 25) sorted by relevance

/external/apache-http/src/org/apache/http/client/
H A DCredentialsProvider.java34 import org.apache.http.auth.Credentials;
51 * Sets the {@link Credentials credentials} for the given authentication
55 * @param credentials the authentication {@link Credentials credentials}
60 void setCredentials(AuthScope authscope, Credentials credentials);
63 * Get the {@link Credentials credentials} for the given authentication scope.
68 * @see #setCredentials(AuthScope, Credentials)
70 Credentials getCredentials(AuthScope authscope);
/external/apache-http/src/org/apache/http/auth/
H A DCredentials.java2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/Credentials.java $
48 public interface Credentials { interface
H A DAuthState.java55 /** Credentials selected for authentication */
56 private Credentials credentials;
103 * Returns user {@link Credentials} selected for authentication if available
107 public Credentials getCredentials() {
113 * Sets user {@link Credentials} to be used for authentication
117 public void setCredentials(final Credentials credentials) {
H A DAuthScheme.java133 * Produces an authorization string for the given set of {@link Credentials}.
142 Header authenticate(Credentials credentials, HttpRequest request)
H A DUsernamePasswordCredentials.java38 * Username and password {@link Credentials}
53 public class UsernamePasswordCredentials implements Credentials {
H A DNTCredentials.java38 /** {@link Credentials} specific to the Windows platform.
51 public class NTCredentials implements Credentials {
/external/apache-http/src/org/apache/http/impl/client/
H A DBasicCredentialsProvider.java36 import org.apache.http.auth.Credentials;
60 private final HashMap<AuthScope, Credentials> credMap;
67 this.credMap = new HashMap<AuthScope, Credentials>();
71 * Sets the {@link Credentials credentials} for the given authentication
75 * @param credentials the authentication {@link Credentials credentials}
82 final Credentials credentials) {
90 * Find matching {@link Credentials credentials} for the given authentication scope.
97 private static Credentials matchCredentials(
98 final HashMap<AuthScope, Credentials> map,
101 Credentials cred
[all...]
H A DDefaultUserTokenHandler.java39 import org.apache.http.auth.Credentials;
86 Credentials creds = authState.getCredentials();
H A DDefaultRequestDirector.java59 import org.apache.http.auth.Credentials;
735 Credentials creds = this.proxyAuthState.getCredentials();
1111 Credentials creds = authState.getCredentials();
1118 this.log.debug("Credentials not found");
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DCredentials.java22 public final class Credentials { class
23 private Credentials() { method in class:Credentials
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DCredentials.java33 * Credentials that are used in authentication and authorization headers.
38 public class Credentials extends SIPObject { class in inherits:SIPObject
64 public Credentials() { method in class:Credentials
130 Credentials retval = (Credentials) super.clone();
/external/apache-http/src/org/apache/http/impl/auth/
H A DBasicScheme.java37 import org.apache.http.auth.Credentials;
124 * Produces basic authorization header for the given set of {@link Credentials}.
136 final Credentials credentials,
140 throw new IllegalArgumentException("Credentials may not be null");
152 * {@link Credentials} and charset.
160 final Credentials credentials,
164 throw new IllegalArgumentException("Credentials may not be null");
H A DNTLMScheme.java37 import org.apache.http.auth.Credentials;
113 final Credentials credentials,
120 "Credentials cannot be used for NTLM authentication: "
H A DDigestScheme.java41 import org.apache.http.auth.Credentials;
212 * {@link Credentials}, method name and URI.
225 final Credentials credentials,
229 throw new IllegalArgumentException("Credentials may not be null");
265 private String createDigest(final Credentials credentials) throws AuthenticationException {
387 final Credentials credentials,
/external/apache-http/src/org/apache/http/client/protocol/
H A DRequestProxyAuthentication.java45 import org.apache.http.auth.Credentials;
93 Credentials creds = authState.getCredentials();
H A DRequestTargetAuthentication.java45 import org.apache.http.auth.Credentials;
93 Credentials creds = authState.getCredentials();
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DAuthenticate.java19 import com.squareup.okhttp.Credentials;
34 String credential = Credentials.basic("jesse", "password1");
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DAuthenticatorAdapter.java20 import com.squareup.okhttp.Credentials;
50 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword()));
74 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword()));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.repository_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DURLConnectionTest.java23 import com.squareup.okhttp.Credentials;
1422 String credential = Credentials.basic("jesse", "secret");
1967 new RecordingOkAuthenticator(Credentials.basic("jesse", "secret")));
2803 String credential = Credentials.basic("jesse", "peanutbutter");
2846 Credentials.basic("jesse", "peanutbutter"));
2863 String credential = Credentials.basic("jesse", "peanutbutter");
2875 String credential = Credentials.basic("jesse", "peanutbutter");
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DCallTest.java324 String credential = Credentials.basic("jesse", "secret");
347 String credential = Credentials.basic("jesse", "secret");
361 String credential = Credentials.basic("jesse", "secret");
1338 client.setAuthenticator(new RecordingOkAuthenticator(Credentials.basic("jesse", "secret")));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
H A DDefaultRequestDirector.java1143 Credentials creds = authState.getCredentials();
1150 this.log.debug("Credentials not found");
/external/robolectric/lib/main/
H A Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/cookie/ ...
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 8167 milliseconds