fix conflict with existing tests
This commit is contained in:
parent
491a4b1f95
commit
ff3d29a8f3
@ -5,7 +5,7 @@ import java.util.Properties;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.baeldung.persistence.multiple.dao.user.MyUserDAO;
|
||||
import org.baeldung.user.dao.MyUserDAO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package org.baeldung.custom.config;
|
||||
|
||||
import org.baeldung.persistence.service.MyUserService;
|
||||
import org.baeldung.security.MyUserDetailsService;
|
||||
import org.baeldung.user.service.MyUserService;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
|
@ -4,7 +4,7 @@ import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.baeldung.persistence.model.MyUser;
|
||||
import org.baeldung.persistence.multiple.dao.user.MyUserDAO;
|
||||
import org.baeldung.user.dao.MyUserDAO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.core.GrantedAuthority;
|
||||
import org.springframework.security.core.authority.SimpleGrantedAuthority;
|
||||
|
@ -2,7 +2,7 @@ package org.baeldung.security;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.baeldung.persistence.service.MyUserService;
|
||||
import org.baeldung.user.service.MyUserService;
|
||||
import org.baeldung.web.MyUserDto;
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.baeldung.persistence.multiple.dao.user;
|
||||
package org.baeldung.user.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.baeldung.persistence.service;
|
||||
package org.baeldung.user.service;
|
||||
|
||||
import javax.transaction.Transactional;
|
||||
|
||||
import org.baeldung.persistence.model.MyUser;
|
||||
import org.baeldung.persistence.multiple.dao.user.MyUserDAO;
|
||||
import org.baeldung.user.dao.MyUserDAO;
|
||||
import org.baeldung.web.MyUserDto;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.crypto.password.PasswordEncoder;
|
@ -40,7 +40,7 @@
|
||||
</bean>
|
||||
|
||||
<context:component-scan base-package="org.baeldung.security"></context:component-scan>
|
||||
<context:component-scan base-package="org.baeldung.persistence"></context:component-scan>
|
||||
<context:component-scan base-package="org.baeldung.user"></context:component-scan>
|
||||
|
||||
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="prefix">
|
||||
|
@ -6,7 +6,8 @@
|
||||
|
||||
<display-name>Spring MVC Application</display-name>
|
||||
|
||||
<!-- Spring root -->
|
||||
|
||||
<!--
|
||||
<context-param>
|
||||
<param-name>contextClass</param-name>
|
||||
<param-value>
|
||||
@ -21,7 +22,7 @@
|
||||
<listener>
|
||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||
</listener>
|
||||
|
||||
-->
|
||||
<!-- Spring child -->
|
||||
<servlet>
|
||||
<servlet-name>mvc-dispatcher</servlet-name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user