Integration du Core dans Acegi : authentification via EJB fonctionnelle. \n TODO: corriger les noms de roles (ROLE_AUTHOR ou AUTHOR, il faut decider), mettre en place le role ANONYMOUS quand aucune conference n'est selectionnee, et modifier jsp/secure/userinformation.jsp pour qu'il affiche quelque chose de dynamique ...

This commit is contained in:
2008-01-30 23:15:20 +00:00
parent 31b707615b
commit 62b624fde4
14 changed files with 280 additions and 153 deletions

View File

@@ -68,12 +68,12 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
</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 id="userDetailsService" class="org.yacos.auth.UserDetailsService">
<!-- <property name="userProperties">-->
<!-- <bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">-->
<!-- <property name="location" value="/WEB-INF/users.properties"/>-->
<!-- </bean>-->
<!-- </property>-->
</bean>
@@ -137,4 +137,9 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
<bean id="loggerListener" class="org.acegisecurity.event.authentication.LoggerListener"/>
<!--<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">-->
<!-- <property name="persistenceUnitName" value="YACOSCore"/>-->
<!--</bean>-->
</beans>