Class LdapSearchParamsFactoryImpl
- java.lang.Object
-
- org.pentaho.platform.plugin.services.security.userrole.ldap.search.LdapSearchParamsFactoryImpl
-
- All Implemented Interfaces:
LdapSearchParamsFactory
,org.springframework.beans.factory.InitializingBean
public class LdapSearchParamsFactoryImpl extends Object implements LdapSearchParamsFactory, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description LdapSearchParamsFactoryImpl()
LdapSearchParamsFactoryImpl(String base, String filter)
LdapSearchParamsFactoryImpl(String base, String filter, SearchControls searchControls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
LdapSearchParams
createParams(Object[] filterArgs)
Create a parameters object with the given arguments.
-
-
-
Constructor Detail
-
LdapSearchParamsFactoryImpl
public LdapSearchParamsFactoryImpl()
-
LdapSearchParamsFactoryImpl
public LdapSearchParamsFactoryImpl(String base, String filter, SearchControls searchControls)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
createParams
public LdapSearchParams createParams(Object[] filterArgs)
Description copied from interface:LdapSearchParamsFactory
Create a parameters object with the given arguments. The assumption is that the filter arguments will be the only parameter not known until runtime.- Specified by:
createParams
in interfaceLdapSearchParamsFactory
- Parameters:
filterArgs
- arguments that will be merged with thefilter
property of anLdapSearchParams
instance- Returns:
- a new parameters object
-
-