File tree Expand file tree Collapse file tree 19 files changed +26
-25
lines changed
main/java/org/woehlke/simpleworklist
test/java/org/woehlke/simpleworklist Expand file tree Collapse file tree 19 files changed +26
-25
lines changed Original file line number Diff line number Diff line change 20
20
import org .woehlke .simpleworklist .application .session .UserSessionBean ;
21
21
22
22
import org .springframework .beans .factory .annotation .Autowired ;
23
- import org .woehlke .simpleworklist .application . security .access .UserAccountAccessService ;
24
- import org .woehlke .simpleworklist .application . security .login .UserAccountLoginSuccessService ;
23
+ import org .woehlke .simpleworklist .domain . user .access .UserAccountAccessService ;
24
+ import org .woehlke .simpleworklist .domain . user .login .UserAccountLoginSuccessService ;
25
25
26
26
import javax .validation .constraints .NotNull ;
27
27
import java .util .ArrayList ;
Original file line number Diff line number Diff line change 20
20
import org .springframework .security .crypto .password .PasswordEncoder ;
21
21
import org .springframework .security .web .authentication .UsernamePasswordAuthenticationFilter ;
22
22
import org .springframework .web .servlet .config .annotation .EnableWebMvc ;
23
- import org .woehlke .simpleworklist .application . security . account .SimpleworklistUserAccountSecurityService ;
23
+ import org .woehlke .simpleworklist .domain . user . access .SimpleworklistUserAccountSecurityService ;
24
24
25
25
26
26
@ Configuration
Original file line number Diff line number Diff line change 7
7
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
8
8
9
9
import org .springframework .beans .factory .annotation .Autowired ;
10
- import org .woehlke .simpleworklist .application . security .login .UserAccountLoginSuccessService ;
10
+ import org .woehlke .simpleworklist .domain . user .login .UserAccountLoginSuccessService ;
11
11
12
12
@ Slf4j
13
13
@ Controller
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security . account ;
1
+ package org .woehlke .simpleworklist .domain . user . access ;
2
2
3
3
import org .springframework .security .core .userdetails .UserDetailsService ;
4
4
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security . account ;
1
+ package org .woehlke .simpleworklist .domain . user . access ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .beans .factory .annotation .Autowired ;
7
7
import org .springframework .stereotype .Service ;
8
8
import org .springframework .transaction .annotation .Propagation ;
9
9
import org .springframework .transaction .annotation .Transactional ;
10
+ import org .woehlke .simpleworklist .domain .user .access .SimpleworklistUserAccountSecurityService ;
10
11
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
11
12
import org .woehlke .simpleworklist .domain .user .account .UserAccountRepository ;
12
13
import org .woehlke .simpleworklist .domain .user .account .UserDetailsBean ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .access ;
1
+ package org .woehlke .simpleworklist .domain . user .access ;
2
2
3
3
import org .woehlke .simpleworklist .domain .user .accountselfservice .UserChangePasswordForm ;
4
4
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
5
- import org .woehlke .simpleworklist .application . security .login .LoginForm ;
5
+ import org .woehlke .simpleworklist .domain . user .login .LoginForm ;
6
6
7
7
public interface UserAccountAccessService {
8
8
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .access ;
1
+ package org .woehlke .simpleworklist .domain . user .access ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .beans .factory .annotation .Autowired ;
10
10
import org .springframework .stereotype .Service ;
11
11
import org .springframework .transaction .annotation .Propagation ;
12
12
import org .springframework .transaction .annotation .Transactional ;
13
- import org .woehlke .simpleworklist .application . security .login .LoginForm ;
13
+ import org .woehlke .simpleworklist .domain . user .login .LoginForm ;
14
14
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
15
15
import org .woehlke .simpleworklist .domain .user .account .UserAccountRepository ;
16
16
import org .woehlke .simpleworklist .domain .user .accountselfservice .UserChangePasswordForm ;
Original file line number Diff line number Diff line change 22
22
import org .woehlke .simpleworklist .domain .context .Context ;
23
23
import org .woehlke .simpleworklist .domain .language .Language ;
24
24
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
25
- import org .woehlke .simpleworklist .application . security .access .UserAccountAccessService ;
25
+ import org .woehlke .simpleworklist .domain . user .access .UserAccountAccessService ;
26
26
import org .woehlke .simpleworklist .application .session .UserSessionBean ;
27
27
28
28
import javax .validation .Valid ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .login ;
1
+ package org .woehlke .simpleworklist .domain . user .login ;
2
2
3
3
import javax .validation .constraints .NotNull ;
4
4
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .login ;
1
+ package org .woehlke .simpleworklist .domain . user .login ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .security .core .Authentication ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .login ;
1
+ package org .woehlke .simpleworklist .domain . user .login ;
2
2
3
3
import org .springframework .security .core .userdetails .UsernameNotFoundException ;
4
4
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .login ;
1
+ package org .woehlke .simpleworklist .domain . user .login ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .beans .factory .annotation .Autowired ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .login ;
1
+ package org .woehlke .simpleworklist .domain . user .login ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .beans .factory .annotation .Autowired ;
16
16
import org .springframework .web .bind .annotation .RequestMapping ;
17
17
import org .springframework .web .bind .annotation .RequestMethod ;
18
18
import org .springframework .web .bind .support .SessionStatus ;
19
- import org .woehlke .simpleworklist .application . security .access .UserAccountAccessService ;
19
+ import org .woehlke .simpleworklist .domain . user .access .UserAccountAccessService ;
20
20
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
21
21
22
22
@ Slf4j
Original file line number Diff line number Diff line change 10
10
import org .springframework .transaction .annotation .Propagation ;
11
11
import org .springframework .transaction .annotation .Transactional ;
12
12
import org .woehlke .simpleworklist .config .SimpleworklistProperties ;
13
- import org .woehlke .simpleworklist .application . security .token .TokenGeneratorService ;
13
+ import org .woehlke .simpleworklist .domain . user .token .TokenGeneratorService ;
14
14
15
15
import java .util .Date ;
16
16
import java .util .UUID ;
Original file line number Diff line number Diff line change 14
14
import org .springframework .transaction .annotation .Propagation ;
15
15
import org .springframework .transaction .annotation .Transactional ;
16
16
import org .woehlke .simpleworklist .config .SimpleworklistProperties ;
17
- import org .woehlke .simpleworklist .application . security .token .TokenGeneratorService ;
17
+ import org .woehlke .simpleworklist .domain . user .token .TokenGeneratorService ;
18
18
19
19
@ Slf4j
20
20
@ Service
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .token ;
1
+ package org .woehlke .simpleworklist .domain . user .token ;
2
2
3
3
public interface TokenGeneratorService {
4
4
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application . security .token ;
1
+ package org .woehlke .simpleworklist .domain . user .token ;
2
2
3
3
import org .springframework .stereotype .Service ;
4
4
Original file line number Diff line number Diff line change 11
11
import org .woehlke .simpleworklist .config .SimpleworklistProperties ;
12
12
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
13
13
import org .woehlke .simpleworklist .domain .user .account .UserAccountService ;
14
- import org .woehlke .simpleworklist .application . security .access .UserAccountAccessService ;
15
- import org .woehlke .simpleworklist .application . security . account .SimpleworklistUserAccountSecurityService ;
16
- import org .woehlke .simpleworklist .application . security .login .UserAccountLoginSuccessService ;
14
+ import org .woehlke .simpleworklist .domain . user .access .UserAccountAccessService ;
15
+ import org .woehlke .simpleworklist .domain . user . access .SimpleworklistUserAccountSecurityService ;
16
+ import org .woehlke .simpleworklist .domain . user .login .UserAccountLoginSuccessService ;
17
17
18
18
19
19
import java .net .URL ;
Original file line number Diff line number Diff line change 13
13
import org .woehlke .simpleworklist .domain .user .account .UserAccountForm ;
14
14
import org .woehlke .simpleworklist .domain .user .passwordrecovery .UserPasswordRecoveryService ;
15
15
import org .woehlke .simpleworklist .domain .user .signup .UserRegistrationService ;
16
- import org .woehlke .simpleworklist .application . security .login .LoginForm ;
16
+ import org .woehlke .simpleworklist .domain . user .login .LoginForm ;
17
17
18
18
import static org .junit .jupiter .api .Assertions .*;
19
19
You can’t perform that action at this time.
0 commit comments