FANDOM


Acegi Security and Lotus Domino 6.5 Edit

Used versions:

  • Spring Framework 1.2.8
  • Acegi Security 1.0.3
   <bean id="authenticationProvider"
      class="org.acegisecurity.providers.dao.DaoAuthenticationProvider">
      <property name="userDetailsService">
         <ref bean="userDetailsService" />
      </property>
      <property name="userCache">
         <ref bean="userCache" />
      </property>
   </bean>

   <bean id="userDetailsService"
      class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl">
      <property name="userProperties">
         <bean
            class="org.springframework.beans.factory.config.PropertiesFactoryBean">
            <property name="location" value="/WEB-INF/users.properties" />
         </bean>
      </property>
   </bean>

All you need is the following users.properties. Please consult the reference guide for the exact syntax.

user=pass1,ACEGI_USER
admin=pass2,ACEGI_ADMIN,ACEGI_USER

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.