| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" |
| "http://www.springframework.org/dtd/spring-beans.dtd"> |
| |
| <beans> |
| <bean id="environment" class="org.springframework.beans.factory.config.PropertiesFactoryBean"> |
| <property name="properties"> |
| <props> |
| <prop key="asn.1.berlib.provider">org.apache.ldap.common.berlib.asn1.SnickersProvider</prop> |
| <!--prop key="asn.1.berlib.provider">org.apache.asn1new.ldap.TwixProvider</prop--> |
| <prop key="java.naming.security.authentication">simple</prop> |
| <prop key="java.naming.security.principal">uid=admin,ou=system</prop> |
| <prop key="java.naming.security.credentials">secret</prop> |
| <prop key="java.naming.ldap.attributes.binary">0.9.2342.19200300.100.1.55/audio/2.5.4.38/authorityRevocationList/2.5.4.37/cACertificate/2.5.4.39/certificateRevocationList/2.5.4.40/crossCertificatePair/2.5.4.53/deltaRevocationList/1.3.6.1.4.1.42.2.27.4.1.8/javaSerializedData/0.9.2342.19200300.100.1.60/jpegPhoto/1.3.6.1.4.1.5322.10.1.10/krb5Key/1.3.6.1.4.1.5322.10.1.12/krb5RealmName/0.9.2342.19200300.100.1.53/personalSignature/0.9.2342.19200300.100.1.7/photo/2.5.4.52/supportedAlgorithms/2.5.4.36/userCertificate/2.5.4.35/userPassword/2.16.840.1.113730.3.1.216/userPKCS12/2.16.840.1.113730.3.1.40/userSMIMECertificate</prop> |
| </props> |
| </property> |
| </bean> |
| |
| <bean id="configuration" class="org.apache.ldap.server.configuration.MutableServerStartupConfiguration"> |
| <property name="workingDirectory"><value>apache.org</value></property> |
| <property name="allowAnonymousAccess"><value>false</value></property> |
| <property name="accessControlEnabled"><value>false</value></property> |
| <property name="ldapPort"><value>10389</value></property> |
| <property name="contextPartitionConfigurations"> |
| <set> |
| <ref bean="apachePartitionConfiguration"/> |
| </set> |
| </property> |
| <property name="bootstrapSchemas"> |
| <set> |
| <bean class="org.apache.ldap.server.schema.bootstrap.AutofsSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.CorbaSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.CoreSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.CosineSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.ApacheSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.CollectiveSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.InetorgpersonSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.JavaSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.Krb5kdcSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.NisSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.SystemSchema"/> |
| <bean class="org.apache.ldap.server.schema.bootstrap.ApachednsSchema"/> |
| </set> |
| </property> |
| |
| <property name="interceptorConfigurations"> |
| <list> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>normalizationService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.normalization.NormalizationService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>authenticationService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.authn.AuthenticationService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>authorizationService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.authz.AuthorizationService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>oldAuthorizationService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.authz.OldAuthorizationService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>exceptionService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.exception.ExceptionService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>schemaService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.schema.SchemaService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>subentryService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.subtree.SubentryService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>operationalAttributeService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.operational.OperationalAttributeService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>collectiveAttributeService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.collective.CollectiveAttributeService" /> |
| </property> |
| </bean> |
| <bean class="org.apache.ldap.server.configuration.MutableInterceptorConfiguration"> |
| <property name="name"><value>eventService</value></property> |
| <property name="interceptor"> |
| <bean class="org.apache.ldap.server.event.EventService" /> |
| </property> |
| </bean> |
| </list> |
| </property> |
| </bean> |
| |
| <bean id="apachePartitionConfiguration" class="org.apache.ldap.server.configuration.MutableDirectoryPartitionConfiguration"> |
| <property name="name"><value>apache</value></property> |
| <property name="suffix"><value>dc=apache,dc=org</value></property> |
| <property name="indexedAttributes"> |
| <set> |
| <value>objectClass</value> |
| <value>ou</value> |
| <value>uid</value> |
| </set> |
| </property> |
| <property name="contextEntry"> |
| <value> |
| objectClass: top |
| objectClass: domain |
| objectClass: extensibleObject |
| dc: apache |
| </value> |
| </property> |
| </bean> |
| |
| <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer"> |
| <property name="customEditors"> |
| <map> |
| <entry key="javax.naming.directory.Attributes"> |
| <bean class="org.apache.ldap.server.configuration.AttributesPropertyEditor"/> |
| </entry> |
| </map> |
| </property> |
| </bean> |
| </beans> |