jangan pake user.properties, kalau mau user management, minimal pake database aja. pake acegi, bisa kok
2009/2/27 Chandra. <[email protected]>: > > Dear rekan semuanya.. > > Saya mengalami kesulitan untuk auntentikasi user Acegi dengan data dari > table.. > jadi saya ingin membuat setiap autentikasi login tidak menggunakan > user.properties (statis).. > > kira2 konfigurasinya seperti ini di applicationContext-acegi-security.xml : > <bean id="authenticationManager" > class="org.acegisecurity.providers.ProviderManager"> > <property name="providers"> > <list> > <ref bean="daoAuthenticationProvider" /> > </list> > </property> > </bean> > > <bean id="daoAuthenticationProvider" > class="org.acegisecurity.providers.dao.DaoAuthenticationProvider"> > <property name="userDetailsService"> > <ref bean="userDetailsService" /> > </property> > </bean> > > <bean id="userDetailsService" > class="org.acegisecurity.userdetails.jdbc.JdbcDaoImpl"> > <property name="dataSource"> > <ref bean="dataSource"/> > </property> > </bean> > > setiap kali di-deploy ke tomcat v6 muncul error seperti ini : > http://www.nabble.com/file/p22238322/localhost.2009-02-27.log > localhost.2009-02-27.log > > oh ya klo user.properties (untuk data2 user dan Role-nya) itu bisa diubah > pada saat Runtime ga yach? > jd misalkan setiap kali "Signup user" langsung menuliskan di user.properties > file.. > (tanpa perlu me-restart tomcat).. > > Mohon pencerahannya yach.. > Thank's > -- > View this message in context: > http://www.nabble.com/Tanya-Struts2-Spring-Hibernate-%28SSH%29-tp21622632p22238322.html > Sent from the JUG Indonesia mailing list archive at Nabble.com. > > -- syaiful.mukhlis gtalk:[email protected]

