BAEL-4019: changed package name

This commit is contained in:
sampadawagde 2020-07-11 10:02:44 +05:30
parent 990e0c1512
commit d174859231
12 changed files with 17 additions and 13 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.shiro;
package com.baeldung.comparison.shiro;
import java.sql.Connection;
import java.sql.SQLException;

View File

@ -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;

View File

@ -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 {

View File

@ -1,4 +1,4 @@
package com.baeldung.shiro.models;
package com.baeldung.comparison.shiro.models;
public class UserCredentials {

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.baeldung.springsecurity.web;
package com.baeldung.comparison.springsecurity.web;
import java.util.Collection;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.baeldung.shiro.permissions.custom;
package com.baeldung.permissions.custom;
import org.apache.shiro.authz.Permission;

View File

@ -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;

View File

@ -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 {

View File

@ -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 {