• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Security-57031.1.35/Security/sec/securityd/

Lines Matching refs:fqdn

905 _SecAppDomainApprovalStatus(CFStringRef appID, CFStringRef fqdn, CFErrorRef *error)
911 CFRetainSafe(fqdn);
914 if (0 == SWCCheckService(kSecSharedWebCredentialsService, appID, fqdn,
918 CFReleaseSafe(fqdn);
930 CFReleaseSafe(fqdn);
944 SecError(errSecAuthFailed, error, CFSTR("Approval is pending for \"%@\", try later"), fqdn);
946 SecError(errSecAuthFailed, error, CFSTR("\"%@\" failed to approve \"%@\""), fqdn, appID);
953 SecError(errSecAuthFailed, error, CFSTR("User denied access to \"%@\" by \"%@\""), fqdn, appID);
989 _SecAddNegativeWebCredential(CFStringRef fqdn, CFStringRef appID, bool forSafari)
992 if (!fqdn) { return result; }
997 CFRetainSafe(fqdn);
999 appID, fqdn, kSWCFlag_ExternalMask, kSWCFlag_UserDenied,
1002 CFReleaseSafe(fqdn);
1010 CFReleaseSafe(fqdn);
1028 CFDictionaryAddValue(attrs, kSecAttrServer, fqdn);
1038 NULL, CFSTR("%@ (%@)"), fqdn, kSecSafariPasswordsNotSaved);
1071 CFStringRef fqdn = CFDictionaryGetValue(attributes, kSecAttrServer);
1091 // parse fqdn with CFURL here, since it could be specified as domain:port
1092 if (fqdn) {
1093 CFRetainSafe(fqdn);
1094 CFStringRef urlStr = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@%@"), kSecSharedCredentialUrlScheme, fqdn);
1100 CFReleaseSafe(fqdn);
1101 fqdn = hostname;
1114 if (!fqdn) {
1123 // validate that fqdn is part of caller's shared credential domains entitlement
1128 if (_SecEntitlementContainsDomainForService(domains, fqdn, kSecSharedWebCredentialsService)) {
1133 CFSTR("%@ not found in %@ entitlement"), fqdn, kSecEntitlementAssociatedDomains);
1147 SWCFlags flags = _SecAppDomainApprovalStatus(appID, fqdn, error);
1166 CFDictionaryAddValue(query, kSecAttrServer, fqdn);
1204 ^void (CFStringRef fqdn) { _SecAddNegativeWebCredential(fqdn, appID, false); });
1213 ^void (CFStringRef fqdn) { _SecAddNegativeWebCredential(fqdn, appID, false); });
1228 CFStringRef label = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@ (%@)"), fqdn, account);
1256 ^void (CFStringRef fqdn) { _SecAddNegativeWebCredential(fqdn, appID, false); });
1276 CFReleaseSafe(fqdn);
1293 CFStringRef fqdn = NULL;
1308 // On input, the query dictionary contains optional fqdn and account entries.
1309 fqdn = CFDictionaryGetValue(query, kSecAttrServer);
1318 // Check fqdn; if NULL, add domains from caller's entitlement.
1319 if (fqdn) {
1320 CFArrayAppendValue(fqdns, fqdn);
1331 fqdn = CFStringCreateWithSubstring(kCFAllocatorDefault, str, range);
1332 if (fqdn) {
1333 CFArrayAppendValue(fqdns, fqdn);
1334 CFRelease(fqdn);
1349 fqdn = (CFStringRef) CFArrayGetValueAtIndex(fqdns, idx);
1350 CFRetainSafe(fqdn);
1353 // Parse the fqdn for a possible port specifier.
1354 if (fqdn) {
1355 CFStringRef urlStr = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@%@"), kSecSharedCredentialUrlScheme, fqdn);
1361 CFReleaseSafe(fqdn);
1362 fqdn = hostname;
1377 CFReleaseSafe(fqdn);
1380 // validate that fqdn is part of caller's entitlement
1381 if (_SecEntitlementContainsDomainForService(domains, fqdn, kSecSharedWebCredentialsService)) {
1386 CFSTR("%@ not found in %@ entitlement"), fqdn, kSecEntitlementAssociatedDomains);
1392 CFReleaseSafe(fqdn);
1400 CFReleaseSafe(fqdn);
1406 CFDictionaryAddValue(attrs, kSecAttrServer, fqdn);
1432 SWCFlags flags = _SecAppDomainApprovalStatus(appID, fqdn, error);
1445 CFReleaseSafe(fqdn);
1549 fqdn = CFDictionaryGetValue(selected, kSecAttrServer);
1557 ^void (CFStringRef fqdn) { _SecAddNegativeWebCredential(fqdn, appID, false); });
1563 CFRetainSafe(fqdn);
1565 appID, fqdn, kSWCFlag_ExternalMask, kSWCFlag_UserApproved,
1568 CFReleaseSafe(fqdn);
1573 CFReleaseSafe(fqdn);