The userDao bean definition is stored in the appfuse-hibernate JAR -
at the root level.  It's loaded from the web.xml using
classpath*:/applicationContext-dao.xml.

Matt

On 3/17/07, appfused <[EMAIL PROTECTED]> wrote:

Hi,
I'm new to appfuse and it looks like a really cool tool. I've been looking
through the appfuse generated code for the struts2 basic archetype and i
can't see how the userDao bean is defined. It's referenced in the
security.xml file as

    <bean id="daoAuthenticationProvider"
class="org.acegisecurity.providers.dao.DaoAuthenticationProvider">
         <property name="userDetailsService" ref="userDao"/>
         <property name="passwordEncoder" ref="passwordEncoder"/>
    </bean>

The app compiles and deploys but i can't understand where it looks up the
username and password (mraible/tomacat) that it uses to authenticate a user
who logs in to the generated app. Any help is welcome.

regards
--
View this message in context: 
http://www.nabble.com/strutss-basic-archetype-security-tf3419500s2369.html#a9530387
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to