[JAVA-961] Standardize packages in spring-security-modules: spring-security-mvc-persisted-remember-me

This commit is contained in:
dupirefr 2020-03-19 21:16:32 +01:00
parent ead60ef1f7
commit 56c6d78bd5
10 changed files with 15 additions and 15 deletions

View File

@ -1,4 +1,4 @@
package org.baeldung.controller; package com.baeldung.controller;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;

View File

@ -1,4 +1,4 @@
package org.baeldung.security; package com.baeldung.security;
import java.io.IOException; import java.io.IOException;
import java.util.Collection; import java.util.Collection;

View File

@ -1,4 +1,4 @@
package org.baeldung.security; package com.baeldung.security;
/** /**
* Simple enum of Security Roles available. * Simple enum of Security Roles available.

View File

@ -1,4 +1,4 @@
package org.baeldung.security; package com.baeldung.security;
import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer; import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;

View File

@ -1,8 +1,8 @@
package org.baeldung.service; package com.baeldung.service;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.baeldung.security.SecurityRole; import com.baeldung.security.SecurityRole;
import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.User; import org.springframework.security.core.userdetails.User;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring; package com.baeldung.spring;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
@ -14,7 +14,7 @@ import org.springframework.web.servlet.view.JstlView;
* Spring Web Configuration. * Spring Web Configuration.
*/ */
@EnableWebMvc @EnableWebMvc
@ComponentScan("org.baeldung") @ComponentScan("com.baeldung")
@Configuration @Configuration
public class MvcConfig extends WebMvcConfigurerAdapter { public class MvcConfig extends WebMvcConfigurerAdapter {

View File

@ -1,4 +1,4 @@
package org.baeldung.spring; package com.baeldung.spring;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource; import org.springframework.context.annotation.ImportResource;

View File

@ -19,7 +19,7 @@
</context-param> </context-param>
<context-param> <context-param>
<param-name>contextConfigLocation</param-name> <param-name>contextConfigLocation</param-name>
<param-value>org.baeldung.spring</param-value> <param-value>com.baeldung.spring</param-value>
</context-param> </context-param>
<listener> <listener>

View File

@ -1,8 +1,8 @@
package org.baeldung; package com.baeldung;
import org.baeldung.spring.MvcConfig; import com.baeldung.spring.MvcConfig;
import org.baeldung.spring.PersistenceConfig; import com.baeldung.spring.PersistenceConfig;
import org.baeldung.spring.SecurityConfig; import com.baeldung.spring.SecurityConfig;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.ContextConfiguration;