File tree Expand file tree Collapse file tree 26 files changed +34
-46
lines changed
main/java/org/woehlke/simpleworklist
test/java/org/woehlke/simpleworklist Expand file tree Collapse file tree 26 files changed +34
-46
lines changed Original file line number Diff line number Diff line change 15
15
import org .woehlke .simpleworklist .domain .task .TaskTime ;
16
16
import org .woehlke .simpleworklist .domain .context .ContextService ;
17
17
import org .woehlke .simpleworklist .domain .project .ProjectService ;
18
- import org .woehlke .simpleworklist .domain .user . chat .ChatMessageService ;
18
+ import org .woehlke .simpleworklist .domain .chat .ChatMessageService ;
19
19
import org .woehlke .simpleworklist .domain .user .account .UserAccountService ;
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 .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 ;
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 1
- package org .woehlke .simpleworklist .application .login .access ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .login .LoginForm ;
5
+ import org .woehlke .simpleworklist .application .security .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 .login .access ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .login .LoginForm ;
13
+ import org .woehlke .simpleworklist .application .security .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 1
- package org .woehlke .simpleworklist .application .login .account ;
1
+ package org .woehlke .simpleworklist .application .security .account ;
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 .login .account ;
1
+ package org .woehlke .simpleworklist .application .security .account ;
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 .application .login .account .SimpleworklistUserAccountSecurityService ;
11
10
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
12
11
import org .woehlke .simpleworklist .domain .user .account .UserAccountRepository ;
13
12
import org .woehlke .simpleworklist .domain .user .account .UserDetailsBean ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application .login .login ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .login ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .login ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .login ;
1
+ package org .woehlke .simpleworklist .application .security .login ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .beans .factory .annotation .Autowired ;
9
9
import org .springframework .stereotype .Service ;
10
10
import org .springframework .transaction .annotation .Propagation ;
11
11
import org .springframework .transaction .annotation .Transactional ;
12
- import org .woehlke .simpleworklist .application .login .login .UserAccountLoginSuccessService ;
13
12
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
14
13
import org .woehlke .simpleworklist .domain .user .account .UserAccountRepository ;
15
14
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .application .login .login ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .access .UserAccountAccessService ;
19
+ import org .woehlke .simpleworklist .application .security .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 1
- package org .woehlke .simpleworklist .application .login .token ;
1
+ package org .woehlke .simpleworklist .application .security .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 .login .token ;
1
+ package org .woehlke .simpleworklist .application .security .token ;
2
2
3
3
import org .springframework .stereotype .Service ;
4
4
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 .login .account .SimpleworklistUserAccountSecurityService ;
23
+ import org .woehlke .simpleworklist .application .security .account .SimpleworklistUserAccountSecurityService ;
24
24
25
25
26
26
@ Configuration
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .domain .user . chat ;
1
+ package org .woehlke .simpleworklist .domain .chat ;
2
2
3
3
import lombok .*;
4
4
import org .hibernate .validator .constraints .Length ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .domain .user . chat ;
1
+ package org .woehlke .simpleworklist .domain .chat ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .data .domain .Page ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .domain .user . chat ;
1
+ package org .woehlke .simpleworklist .domain .chat ;
2
2
3
3
4
4
import lombok .*;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .domain .user . chat ;
1
+ package org .woehlke .simpleworklist .domain .chat ;
2
2
3
3
import org .springframework .data .domain .Page ;
4
4
import org .springframework .data .domain .Pageable ;
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .domain .user . chat ;
1
+ package org .woehlke .simpleworklist .domain .chat ;
2
2
3
3
import org .springframework .data .domain .Page ;
4
4
import org .springframework .data .domain .Pageable ;
5
5
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
6
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessage ;
7
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessageForm ;
8
6
9
7
/**
10
8
* Created by tw on 16.02.2016.
Original file line number Diff line number Diff line change 1
- package org .woehlke .simpleworklist .domain .user . chat ;
1
+ package org .woehlke .simpleworklist .domain .chat ;
2
2
3
3
import lombok .extern .slf4j .Slf4j ;
4
4
import org .springframework .data .domain .Page ;
9
9
import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
10
10
11
11
import org .springframework .beans .factory .annotation .Autowired ;
12
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessage ;
13
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessageForm ;
14
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessageRepository ;
15
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessageService ;
16
12
17
13
import java .util .List ;
18
14
import java .util .UUID ;
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 .login .login .UserAccountLoginSuccessService ;
10
+ import org .woehlke .simpleworklist .application .security .login .UserAccountLoginSuccessService ;
11
11
12
12
@ Slf4j
13
13
@ Controller
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 .domain .context .Context ;
17
- import org .woehlke .simpleworklist .domain .user .account .UserAccount ;
18
- import org .woehlke .simpleworklist .domain .user .account .UserAccountForm ;
19
- import org .woehlke .simpleworklist .domain .user .account .UserAccountRepository ;
20
- import org .woehlke .simpleworklist .domain .user .account .UserAccountService ;
21
- import org .woehlke .simpleworklist .domain .user .chat .ChatMessage ;
17
+ import org .woehlke .simpleworklist .domain .chat .ChatMessage ;
22
18
import org .woehlke .simpleworklist .domain .context .ContextRepository ;
23
- import org .woehlke .simpleworklist .domain .user . chat .ChatMessageRepository ;
19
+ import org .woehlke .simpleworklist .domain .chat .ChatMessageRepository ;
24
20
25
21
@ Slf4j
26
22
@ Service ("userAccountService" )
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 .login .access .UserAccountAccessService ;
25
+ import org .woehlke .simpleworklist .application .security .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 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 .login .token .TokenGeneratorService ;
13
+ import org .woehlke .simpleworklist .application .security .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 .login .token .TokenGeneratorService ;
17
+ import org .woehlke .simpleworklist .application .security .token .TokenGeneratorService ;
18
18
19
19
@ Slf4j
20
20
@ Service
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 .login .access .UserAccountAccessService ;
15
- import org .woehlke .simpleworklist .application .login .account .SimpleworklistUserAccountSecurityService ;
16
- import org .woehlke .simpleworklist .application .login .login .UserAccountLoginSuccessService ;
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 ;
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 .login .login .LoginForm ;
16
+ import org .woehlke .simpleworklist .application .security .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