i wrote that sql in XML
<bean id="authenticationDao"
class="org.springframework.security.userdetails.jdbc.JdbcDaoImpl">
<property name="dataSource" ref="dataSource" />
<property...
Type: Posts; User: ehab_refaat82; Keyword(s):
i wrote that sql in XML
<bean id="authenticationDao"
class="org.springframework.security.userdetails.jdbc.JdbcDaoImpl">
<property name="dataSource" ref="dataSource" />
<property...
i used this and it works
pay attention to that your xml is like this
<bean id="authenticationManager" class="org.springframework.security.providers.ProviderManager">
<property name="providers">
<list>
<ref...
in swing
crate log in class
and from username and password fill in bean
and then create
Authentication authentication =
new UsernamePasswordAuthenticationToken...
thanks alot
:confused: