equality_filter.js revision 0269cc41d4e4d04680123fad5853dcdd8109c639
// Copyright 2011 Mark Cavage, Inc. All rights reserved.
var module = {};
///--- API
function EqualityFilter(options) {
if (typeof (options) === 'object') {
throw new TypeError('options.attribute (string) required');
throw new TypeError('options.value (string) required');
} else {
options = {};
}
var self = this;
return {
type: 'EqualityMatch',
};
}
});
}
};
if (typeof (target) !== 'object')
throw new TypeError('target (object) required');
var self = this;
return Filter.multi_test(
function (v) {
v = v.toLowerCase();
return value === v;
},
}
return false;
};
if (this.attribute === 'objectclass')
return true;
};
return ber;
};
});