File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ public ApiPrincipal(final ApiUser user) {
27
27
this .user = user ;
28
28
}
29
29
30
+
31
+
30
32
@ Override
31
33
public Collection <? extends GrantedAuthority > getAuthorities () {
32
34
Set <GrantedAuthority > roles = new HashSet <>();
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public class HolarsePrincipal implements UserDetails {
16
16
private final User user ;
17
17
18
18
public HolarsePrincipal (final User user ) {
19
- this .user = user ;
19
+ this .user = user ;
20
20
}
21
21
22
22
@ Override
Original file line number Diff line number Diff line change 37
37
import org .springframework .beans .factory .annotation .Autowired ;
38
38
import org .springframework .data .domain .Pageable ;
39
39
import org .springframework .data .web .PageableDefault ;
40
- import org .springframework .http .HttpStatus ;
41
- import org .springframework .http .HttpStatusCode ;
42
40
import org .springframework .jms .core .JmsTemplate ;
43
41
import org .springframework .stereotype .Controller ;
44
42
import org .springframework .transaction .annotation .Transactional ;
45
43
import org .springframework .web .bind .annotation .GetMapping ;
46
44
import org .springframework .web .bind .annotation .ModelAttribute ;
47
45
import org .springframework .web .bind .annotation .PathVariable ;
48
46
import org .springframework .web .bind .annotation .PostMapping ;
49
- import org .springframework .web .bind .annotation .PutMapping ;
50
47
import org .springframework .web .bind .annotation .RequestMapping ;
51
48
import org .springframework .web .servlet .ModelAndView ;
52
49
You can’t perform that action at this time.
0 commit comments