org.pentaho.platform.plugin.services.security.userrole.ldap.search
Class LdapSearchParamsFactoryImpl

java.lang.Object
  extended by 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
LdapSearchParamsFactoryImpl()
           
LdapSearchParamsFactoryImpl(String base, String filter)
           
LdapSearchParamsFactoryImpl(String base, String filter, SearchControls searchControls)
           
 
Method Summary
 void afterPropertiesSet()
           
 LdapSearchParams createParams(Object[] filterArgs)
          Create a parameters object with the given arguments.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapSearchParamsFactoryImpl

public LdapSearchParamsFactoryImpl()

LdapSearchParamsFactoryImpl

public LdapSearchParamsFactoryImpl(String base,
                                   String filter)

LdapSearchParamsFactoryImpl

public LdapSearchParamsFactoryImpl(String base,
                                   String filter,
                                   SearchControls searchControls)
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.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 interface LdapSearchParamsFactory
Parameters:
filterArgs - arguments that will be merged with the filter property of an LdapSearchParams instance
Returns:
a new parameters object