Skip to content

Commit c5f4475

Browse files
committed
refactoring of java classes
1 parent 5b05467 commit c5f4475

26 files changed

+34
-46
lines changed

src/main/java/org/woehlke/simpleworklist/application/framework/AbstractController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
import org.woehlke.simpleworklist.domain.task.TaskTime;
1616
import org.woehlke.simpleworklist.domain.context.ContextService;
1717
import org.woehlke.simpleworklist.domain.project.ProjectService;
18-
import org.woehlke.simpleworklist.domain.user.chat.ChatMessageService;
18+
import org.woehlke.simpleworklist.domain.chat.ChatMessageService;
1919
import org.woehlke.simpleworklist.domain.user.account.UserAccountService;
2020
import org.woehlke.simpleworklist.application.session.UserSessionBean;
2121

2222
import org.springframework.beans.factory.annotation.Autowired;
23-
import org.woehlke.simpleworklist.application.login.access.UserAccountAccessService;
24-
import org.woehlke.simpleworklist.application.login.login.UserAccountLoginSuccessService;
23+
import org.woehlke.simpleworklist.application.security.access.UserAccountAccessService;
24+
import org.woehlke.simpleworklist.application.security.login.UserAccountLoginSuccessService;
2525

2626
import javax.validation.constraints.NotNull;
2727
import java.util.ArrayList;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package org.woehlke.simpleworklist.application.login.access;
1+
package org.woehlke.simpleworklist.application.security.access;
22

33
import org.woehlke.simpleworklist.domain.user.accountselfservice.UserChangePasswordForm;
44
import org.woehlke.simpleworklist.domain.user.account.UserAccount;
5-
import org.woehlke.simpleworklist.application.login.login.LoginForm;
5+
import org.woehlke.simpleworklist.application.security.login.LoginForm;
66

77
public interface UserAccountAccessService {
88

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.access;
1+
package org.woehlke.simpleworklist.application.security.access;
22

33
import lombok.extern.slf4j.Slf4j;
44
import org.springframework.beans.factory.annotation.Autowired;
@@ -10,7 +10,7 @@
1010
import org.springframework.stereotype.Service;
1111
import org.springframework.transaction.annotation.Propagation;
1212
import org.springframework.transaction.annotation.Transactional;
13-
import org.woehlke.simpleworklist.application.login.login.LoginForm;
13+
import org.woehlke.simpleworklist.application.security.login.LoginForm;
1414
import org.woehlke.simpleworklist.domain.user.account.UserAccount;
1515
import org.woehlke.simpleworklist.domain.user.account.UserAccountRepository;
1616
import org.woehlke.simpleworklist.domain.user.accountselfservice.UserChangePasswordForm;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.account;
1+
package org.woehlke.simpleworklist.application.security.account;
22

33
import org.springframework.security.core.userdetails.UserDetailsService;
44

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.account;
1+
package org.woehlke.simpleworklist.application.security.account;
22

33
import lombok.extern.slf4j.Slf4j;
44
import org.springframework.beans.factory.annotation.Autowired;
@@ -7,7 +7,6 @@
77
import org.springframework.stereotype.Service;
88
import org.springframework.transaction.annotation.Propagation;
99
import org.springframework.transaction.annotation.Transactional;
10-
import org.woehlke.simpleworklist.application.login.account.SimpleworklistUserAccountSecurityService;
1110
import org.woehlke.simpleworklist.domain.user.account.UserAccount;
1211
import org.woehlke.simpleworklist.domain.user.account.UserAccountRepository;
1312
import org.woehlke.simpleworklist.domain.user.account.UserDetailsBean;

src/main/java/org/woehlke/simpleworklist/application/login/login/LoginForm.java renamed to src/main/java/org/woehlke/simpleworklist/application/security/login/LoginForm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.login;
1+
package org.woehlke.simpleworklist.application.security.login;
22

33
import javax.validation.constraints.NotNull;
44

src/main/java/org/woehlke/simpleworklist/application/login/login/LoginSuccessHandler.java renamed to src/main/java/org/woehlke/simpleworklist/application/security/login/LoginSuccessHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.login;
1+
package org.woehlke.simpleworklist.application.security.login;
22

33
import lombok.extern.slf4j.Slf4j;
44
import org.springframework.security.core.Authentication;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.login;
1+
package org.woehlke.simpleworklist.application.security.login;
22

33
import org.springframework.security.core.userdetails.UsernameNotFoundException;
44
import org.woehlke.simpleworklist.domain.user.account.UserAccount;
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.login;
1+
package org.woehlke.simpleworklist.application.security.login;
22

33
import lombok.extern.slf4j.Slf4j;
44
import org.springframework.beans.factory.annotation.Autowired;
@@ -9,7 +9,6 @@
99
import org.springframework.stereotype.Service;
1010
import org.springframework.transaction.annotation.Propagation;
1111
import org.springframework.transaction.annotation.Transactional;
12-
import org.woehlke.simpleworklist.application.login.login.UserAccountLoginSuccessService;
1312
import org.woehlke.simpleworklist.domain.user.account.UserAccount;
1413
import org.woehlke.simpleworklist.domain.user.account.UserAccountRepository;
1514

src/main/java/org/woehlke/simpleworklist/application/login/login/UserLoginController.java renamed to src/main/java/org/woehlke/simpleworklist/application/security/login/UserLoginController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.woehlke.simpleworklist.application.login.login;
1+
package org.woehlke.simpleworklist.application.security.login;
22

33
import lombok.extern.slf4j.Slf4j;
44
import org.springframework.beans.factory.annotation.Autowired;
@@ -16,7 +16,7 @@
1616
import org.springframework.web.bind.annotation.RequestMapping;
1717
import org.springframework.web.bind.annotation.RequestMethod;
1818
import org.springframework.web.bind.support.SessionStatus;
19-
import org.woehlke.simpleworklist.application.login.access.UserAccountAccessService;
19+
import org.woehlke.simpleworklist.application.security.access.UserAccountAccessService;
2020
import org.woehlke.simpleworklist.domain.user.account.UserAccount;
2121

2222
@Slf4j

0 commit comments

Comments
 (0)