
http://www.roseindia.net/tutorial/spring/spring3/springsecurity/SpringSecurityAuthorizedAccessCustomLogin.html
Hola relacionado a ese post, he intentado sin poder aun y machear con una base de mysql, tengo lo siguiente:
En spring-security.xml
<authentication-manager>
<authentication-provider user-service-ref='userService'/>
</authentication-manager>
<beans:bean id="userService" class="org.springframework.security.userdetails.jdbc.JdbcDaoImpl">
<beans:property name="dataSource" ref="seguridadDataSource" />
<beans:property name="enableGroups" value="true" />
</beans:bean>
<beans:bean id="seguridadDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" destroy-method="close"
p:driverClassName="com.mysql.jdbc.Driver" p:url="jdbc:mysql://localhost:3306/seguridad?autoReconnect=true"
p:username="root" p:password=""/>
Pero no puedo acceder a las urls ahora...me he olvidado de algo?, gracias.-
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.