Lines Matching defs:authentication
150 Authentication* authentication = fAuthentications.Get(share);
151 if (authentication)
152 return authentication->SetTo(user, password);
154 authentication = new(std::nothrow) Authentication;
155 if (!authentication)
157 status_t error = authentication->SetTo(user, password);
159 error = fAuthentications.Put(share, authentication);
161 delete authentication;
370 If share is NULL, the default authentication for the server is returned.
385 // get the authentication
386 const Authentication* authentication = NULL;
389 if (!authentication && serverEntry->UseDefaultAuthentication())
390 authentication = &serverEntry->GetDefaultAuthentication();
392 authentication = &serverEntry->GetDefaultAuthentication();
393 if (!authentication || !authentication->IsValid())
395 return (user->SetTo(authentication->GetUser())
396 && password->SetTo(authentication->GetPassword()));
420 // put the authentication