public final class Rest2LDAPConnectionFactoryProvider extends Object
Modifier and Type | Method and Description |
---|---|
static org.forgerock.json.resource.ConnectionFactory |
getConnectionFactory(javax.servlet.ServletConfig config)
Returns a JSON resource connection factory configured using the
configuration file named in the
config-file Servlet
initialization parameter. |
public static org.forgerock.json.resource.ConnectionFactory getConnectionFactory(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
config-file
Servlet
initialization parameter. See the sample configuration file for a
detailed description of its content.config
- The Servlet configuration.javax.servlet.ServletException
- If the connection factory could not be initialized.Rest2LDAP.configureConnectionFactory(JsonValue, String)
,
Rest2LDAP.Builder.configureMapping(JsonValue)
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.