BAEL-4019: changed package name
This commit is contained in:
parent
990e0c1512
commit
d174859231
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro;
|
||||
package com.baeldung.comparison.shiro;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.SQLException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro;
|
||||
package com.baeldung.comparison.shiro;
|
||||
|
||||
import org.apache.shiro.realm.Realm;
|
||||
import org.apache.shiro.spring.web.config.DefaultShiroFilterChainDefinition;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro.controllers;
|
||||
package com.baeldung.comparison.shiro.controllers;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
|
@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
|||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.servlet.mvc.support.RedirectAttributes;
|
||||
|
||||
import com.baeldung.shiro.models.UserCredentials;
|
||||
import com.baeldung.comparison.shiro.models.UserCredentials;
|
||||
|
||||
@Controller
|
||||
public class ShiroController {
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro.models;
|
||||
package com.baeldung.comparison.shiro.models;
|
||||
|
||||
public class UserCredentials {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.springsecurity;
|
||||
package com.baeldung.comparison.springsecurity;
|
||||
|
||||
import org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration;
|
||||
import org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.springsecurity.config;
|
||||
package com.baeldung.comparison.springsecurity.config;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.springsecurity.web;
|
||||
package com.baeldung.comparison.springsecurity.web;
|
||||
|
||||
import java.util.Collection;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro.permissions.custom;
|
||||
package com.baeldung.permissions.custom;
|
||||
|
||||
import org.apache.shiro.SecurityUtils;
|
||||
import org.apache.shiro.authc.AuthenticationException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro.permissions.custom;
|
||||
package com.baeldung.permissions.custom;
|
||||
|
||||
import org.apache.shiro.authz.Permission;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro.permissions.custom;
|
||||
package com.baeldung.permissions.custom;
|
||||
|
||||
import org.apache.shiro.authz.Permission;
|
||||
import org.apache.shiro.authz.permission.PermissionResolver;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.shiro;
|
||||
package com.baeldung.comparison.shiro;
|
||||
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
@ -6,6 +6,8 @@ import org.junit.jupiter.api.extension.ExtendWith;
|
|||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit.jupiter.SpringExtension;
|
||||
|
||||
import com.baeldung.comparison.shiro.ShiroApplication;
|
||||
|
||||
@ExtendWith(SpringExtension.class)
|
||||
@SpringBootTest(classes = { ShiroApplication.class })
|
||||
public class SpringContextTest {
|
|
@ -1,10 +1,12 @@
|
|||
package com.baeldung.springsecurity;
|
||||
package com.baeldung.comparison.springsecurity;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit.jupiter.SpringExtension;
|
||||
|
||||
import com.baeldung.comparison.springsecurity.Application;
|
||||
|
||||
@ExtendWith(SpringExtension.class)
|
||||
@SpringBootTest(classes = { Application.class })
|
||||
public class SpringContextTest {
|
Loading…
Reference in New Issue