Aaron Evans <aaronmevans <at> yahoo.ca> writes: > Now, the spring framework error I get (well the root cause one anyway) is: > > org.springframework.beans.factory.BeanCreationException: Error creating bean > with name 'org.apache.jetspeed.security.spi.UserSecurityHandler' defined in > ServletContext resource [/WEB-INF/assembly/security-spi-ldap-atn.xml]: 1 > constructor arguments specified but no matching constructor found in bean > 'org.apache.jetspeed.security.spi.UserSecurityHandler' (hint: specify index > arguments for simple parameters to avoid type ambiguities) >
Ah, the problem is that in the security-spi-ldap-atn.xml file, the org.apache.jetspeed.security.spi.UserSecurityHandler bean's constructor was being passed a org.apache.jetspeed.security.spi.impl.ldap.LdapUserCredentialDao when it should be passed a org.apache.jetspeed.security.spi.impl.ldap.LdapUserPrincipalDao. The fix then is to setup a LdapUserPrincipalDao bean (using the LdapUserPrincipalDaoImpl implementation) and pass it in for the constructor arg. The constructor args for the LdapUserPrincipalDaoImpl are the same as for the LdapUserCredentialDaoImpl. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
