/external/apache-http/src/org/apache/http/auth/ |
AuthState.java | 50 /** Credentials selected for authentication */ 51 private Credentials credentials; field in class:AuthState 67 this.credentials = null; 98 * Returns user {@link Credentials} selected for authentication if available 100 * @return user credentials if available, <code>null</code otherwise 102 public Credentials getCredentials() { 103 return this.credentials; 108 * Sets user {@link Credentials} to be used for authentication 110 * @param credentials User credential [all...] |
AuthScheme.java | 51 * <li>Generate authorization string for the given set of credentials, 128 * Produces an authorization string for the given set of {@link Credentials}. 130 * @param credentials The set of credentials to be used for athentication 137 Header authenticate(Credentials credentials, HttpRequest request)
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
credentials_unittest.py | 32 from webkitpy.credentials import Credentials 65 class FakeCredentials(Credentials): 68 credentials = FakeCredentials("bugs.webkit.org") 69 self.assertEqual(credentials._is_mac_os_x(), False) 70 self.assertEqual(credentials._credentials_from_keychain("foo"), ["foo", None]) 73 credentials = Credentials("bugs.webkit.org") 74 self.assertEqual(credentials._parse_security_tool_output(self.example_security_output), ["test@webkit.org", "SECRETSAUCE"]) 77 credentials = Credentials("foo.example.com" [all...] |
/external/apache-http/src/org/apache/http/impl/auth/ |
BasicScheme.java | 37 import org.apache.http.auth.Credentials; 119 * Produces basic authorization header for the given set of {@link Credentials}. 121 * @param credentials The set of credentials to be used for athentication 123 * @throws org.apache.http.auth.InvalidCredentialsException if authentication credentials 131 final Credentials credentials, 134 if (credentials == null) { 135 throw new IllegalArgumentException("Credentials may not be null"); 142 return authenticate(credentials, charset, isProxy()) [all...] |
DigestScheme.java | 41 import org.apache.http.auth.Credentials; 207 * {@link Credentials}, method name and URI. 209 * @param credentials A set of credentials to be used for athentication 212 * @throws org.apache.http.auth.InvalidCredentialsException if authentication credentials 220 final Credentials credentials, 223 if (credentials == null) { 224 throw new IllegalArgumentException("Credentials may not be null"); 238 String digest = createDigest(credentials); [all...] |
NTLMScheme.java | 37 import org.apache.http.auth.Credentials; 107 final Credentials credentials, 111 ntcredentials = (NTCredentials) credentials; 114 "Credentials cannot be used for NTLM authentication: " 115 + credentials.getClass().getName());
|
/external/apache-http/src/org/apache/http/client/ |
CredentialsProvider.java | 34 import org.apache.http.auth.Credentials; 37 * Abstract credentials provider. 46 * Sets the {@link Credentials credentials} for the given authentication 47 * scope. Any previous credentials for the given scope will be overwritten. 50 * @param credentials the authentication {@link Credentials credentials} 55 void setCredentials(AuthScope authscope, Credentials credentials); [all...] |
/external/webkit/WebCore/loader/ |
CrossOriginPreflightResultCache.h | 39 CrossOriginPreflightResultCacheItem(bool credentials) 41 , m_credentials(credentials)
|
/system/core/rootdir/etc/ |
dbus.conf | 8 <!-- Only allow socket-credentials-based authentication -->
|
/system/core/libcutils/ |
mq.c | 53 } Credentials; 56 typedef void BytesListener(Credentials credentials, char* bytes, size_t size); 95 /** Credentials. Used for CONNECTION and CONNECTION_REQUEST. */ 96 Credentials credentials; member in union:__anon13049::__anon13050 164 /** Credentials of the remote process. */ 165 Credentials credentials; member in struct:PeerProxy 204 /** Credentials of the master peer. * 625 Credentials credentials; local 1036 Credentials credentials; local [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
BasicCredentialsProvider.java | 36 import org.apache.http.auth.Credentials; 55 private final HashMap<AuthScope, Credentials> credMap; 62 this.credMap = new HashMap<AuthScope, Credentials>(); 66 * Sets the {@link Credentials credentials} for the given authentication 67 * scope. Any previous credentials for the given scope will be overwritten. 70 * @param credentials the authentication {@link Credentials credentials} 77 final Credentials credentials) [all...] |
/external/dbus/dbus/ |
dbus-auth.h | 72 const DBusCredentials *credentials); 74 DBusCredentials *credentials);
|
dbus-userdb.h | 104 DBusCredentials *credentials); 106 DBusCredentials *credentials);
|
dbus-sysdeps-unix.c | 508 * Enables or disables the reception of credentials on the given socket during 511 * not have to do anything special to send the credentials. 903 "Failed to write credentials byte: %s", 910 "wrote zero bytes writing credentials byte"); 916 _dbus_verbose ("wrote credentials byte\n"); 923 * and reads unix credentials if available. Fills in pid/uid/gid with 924 * -1 if no credentials are available. Return value indicates whether 925 * a byte was read, not whether we got valid credentials. On some 932 * use sendmsg()/recvmsg() to transmit credentials. 935 * @param credentials struct to fill with credentials of clien [all...] |
dbus-transport-protected.h | 92 DBusCredentials credentials; /**< Credentials of other end */ member in struct:DBusTransport 110 unsigned int send_credentials_pending : 1; /**< #TRUE if we need to send credentials */ 111 unsigned int receive_credentials_pending : 1; /**< #TRUE if we need to receive credentials */
|
dbus-userdb-util.c | 106 * Gets the credentials corresponding to the given UID. 109 * @param credentials credentials to fill in 110 * @returns #TRUE if the UID existed and we got some credentials 114 DBusCredentials *credentials) 136 credentials->pid = DBUS_PID_UNSET; 137 credentials->uid = info->uid; 138 credentials->gid = info->primary_gid;
|
dbus-userdb.c | 398 * Gets the credentials corresponding to the given username. 401 * @param credentials credentials to fill in 402 * @returns #TRUE if the username existed and we got some credentials 406 DBusCredentials *credentials) 426 credentials->pid = DBUS_PID_UNSET; 427 credentials->uid = info->uid; 428 credentials->gid = info->primary_gid;
|
dbus-sysdeps.h | 149 * Struct representing socket credentials 158 /* FIXME these read/send credentials should get moved to sysdeps-unix.h, 162 DBusCredentials *credentials, 168 void _dbus_credentials_clear (DBusCredentials *credentials); 169 void _dbus_credentials_from_current_process (DBusCredentials *credentials);
|
dbus-auth.c | 165 DBusCredentials credentials; /**< Credentials read from socket, member in struct:DBusAuth 169 DBusCredentials authorized_identity; /**< Credentials that are authorized */ 335 _dbus_credentials_clear (&auth->credentials); 969 if (auth->credentials.uid == DBUS_UID_UNSET) 971 _dbus_verbose ("%s: no credentials, mechanism EXTERNAL can't authenticate\n", 1013 * identity provided in the credentials. 1017 auth->desired_identity.uid = auth->credentials.uid; 1024 _dbus_verbose ("%s: could not get credentials from uid string\n", 1039 &auth->credentials)) [all...] |
dbus-sysdeps.c | 613 * @param credentials the credentials object to fill in 616 _dbus_credentials_clear (DBusCredentials *credentials) 618 credentials->pid = DBUS_PID_UNSET; 619 credentials->uid = DBUS_UID_UNSET; 620 credentials->gid = DBUS_GID_UNSET; 627 * @param expected_credentials credentials we're trying to log in as 628 * @param provided_credentials credentials we have
|
dbus-transport.c | 165 transport->credentials.pid = -1; 166 transport->credentials.uid = -1; 167 transport->credentials.gid = -1; [all...] |
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
main.py | 42 after successful authentication and "invalid credentials" error otherwise. 54 self.response.set_status(401, 'Invalid Credentials') 96 self.response.set_status(401, 'Invalid Credentials') 125 self.response.set_status(401, 'Invalid Credentials')
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpURLConnectionImpl.java | 1678 String credentials = getAuthorizationCredentials(challenge); local 1701 String credentials = getAuthorizationCredentials(challenge); local [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
TestShellActivity.java | 519 String[] credentials = view.getHttpAuthUsernamePassword(host, realm); 520 if (credentials != null && credentials.length == 2) { 521 handler.proceed(credentials[0], credentials[1]);
|
/packages/apps/Browser/src/com/android/browser/ |
Tab.java | [all...] |