01: /*
02: * Copyright 2007 Pentaho Corporation. All rights reserved.
03: * This software was developed by Pentaho Corporation and is provided under the terms
04: * of the Mozilla Public License, Version 1.1, or any later version. You may not use
05: * this file except in compliance with the license. If you need a copy of the license,
06: * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
07: * BI Platform. The Initial Developer is Pentaho Corporation.
08: *
09: * Software distributed under the Mozilla Public License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
11: * the license for the specific language governing your rights and limitations.
12: */
13: package com.pentaho.security.ldap.search;
14:
15: /**
16: * A factory for creating <code>LdapSearchParams</code> instances.
17: *
18: * @author mlowery
19: *
20: */
21: public interface LdapSearchParamsFactory {
22:
23: /**
24: * Create a parameters object with the given arguments. The assumption is
25: * that the filter arguments will be the only parameter not known until
26: * runtime.
27: *
28: * @param filterArgs
29: * arguments that will be merged with the <code>filter</code>
30: * property of an <code>LdapSearchParams</code> instance
31: * @return a new parameters object
32: */
33: LdapSearchParams createParams(Object[] filterArgs);
34:
35: }
|