Lines Matching defs:scopes

288 	    Vector scopes = rec.getScopes();
305 scopes,
311 // is needed. This creates the auth blocks for the scopes.
336 store.register(surl, attrs, scopes, locale, urlSig, attrSig);
357 scopes});
509 Vector scopes = hdr.scopes;
572 // Check if scopes are supported.
574 if (!areSupportedScopes(scopes)) {
628 scopes,
639 store.updateRegistration(surl, attrs, scopes, locale);
655 scopes});
701 scopes});
736 Vector scopes = hdr.scopes;
767 // Check is really simple. If security is on, then all scopes
790 store.deregister(surl, scopes, urlSig);
801 store.deleteAttributes(surl, scopes, tags, locale);
871 Vector scopes = hdr.scopes;
879 if (!areSupportedScopes(scopes)) {
891 Vector types = store.findServiceTypes(namingAuthority, scopes);
902 scopes,
916 scopes,
949 Vector scopes = hdr.scopes;
958 if (!areSupportedScopes(scopes)) {
970 scopes,
974 // Get the hashtable of services v.s. scopes, and signatures, if
1008 scopes,
1025 scopes,
1061 Vector scopes = hdr.scopes;
1072 if (!areSupportedScopes(scopes)) {
1101 store.findAttributes(surl, scopes, tags, locale);
1131 store.findAttributes(serviceType, scopes, tags, locale);
1151 scopes,
1169 scopes,
1259 Vector scopes = conf.getSAOnlyScopes();
1267 scopes,
1279 // Return true if the scopes in the vector are supported by the DA
1282 final private boolean areSupportedScopes(Vector scopes) {
1288 while (i < scopes.size()) {
1289 Object o = scopes.elementAt(i);
1296 scopes.removeElementAt(i);
1302 if (scopes.size() <= 0) {
1346 Vector scopes = hdr.scopes;
1360 // Get the hashtable of service URLs v.s. scopes.
1388 return makeDAAdvert(hdr, daAddr, xid, scopes, conf);
1404 Vector scopes,
1408 // If this is a request for a V1 Advert, truncate the scopes vector
1412 scopes = new Vector();
1416 // Check if we support scopes first. If not, return an
1420 if (scopes.size() > 0 && !areSupportedScopes(scopes)) {
1444 scopes,
1452 // scopes, not the private ones.
1463 Vector scopes = hdr.scopes;
1477 // Check if we support scopes first. Note that this may allow
1478 // someone to get at the SA only scopes off machine, but that's
1481 if (!areSupportedScopes(scopes) && !(scopes.size() <= 0)) {
1486 // If the scopes vector is null, then use all configured scopes.
1488 if (scopes.size() <= 0) {
1489 scopes = (Vector)conf.getSAConfiguredScopes().clone();
1554 conf.getSAConfiguredScopes(), // report all scopes...