File tree 2 files changed +7
-7
lines changed
main/java/org/springframework/security/web/jackson2
test/java/org/springframework/security/web/jackson2 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .security .web .jackson2 ;
18
18
19
- import org .springframework .security .core .Authentication ;
20
- import org .springframework .security .web .authentication .switchuser .SwitchUserGrantedAuthority ;
21
-
22
19
import com .fasterxml .jackson .annotation .JsonAutoDetect ;
23
20
import com .fasterxml .jackson .annotation .JsonCreator ;
24
21
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
25
22
import com .fasterxml .jackson .annotation .JsonProperty ;
26
23
import com .fasterxml .jackson .annotation .JsonTypeInfo ;
27
24
25
+ import org .springframework .security .core .Authentication ;
26
+ import org .springframework .security .web .authentication .switchuser .SwitchUserGrantedAuthority ;
27
+
28
28
/**
29
29
* Jackson mixin class to serialize/deserialize {@link SwitchUserGrantedAuthority}.
30
30
*
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .security .web .jackson2 ;
18
18
19
+ import org .junit .jupiter .api .BeforeEach ;
20
+ import org .junit .jupiter .api .Test ;
21
+ import org .skyscreamer .jsonassert .JSONAssert ;
22
+
19
23
import org .springframework .security .authentication .UsernamePasswordAuthenticationToken ;
20
24
import org .springframework .security .core .Authentication ;
21
25
import org .springframework .security .core .authority .AuthorityUtils ;
22
26
import org .springframework .security .jackson2 .AbstractMixinTests ;
23
27
import org .springframework .security .jackson2 .SimpleGrantedAuthorityMixinTests ;
24
28
import org .springframework .security .web .authentication .switchuser .SwitchUserGrantedAuthority ;
25
29
26
- import org .junit .jupiter .api .BeforeEach ;
27
- import org .junit .jupiter .api .Test ;
28
- import org .skyscreamer .jsonassert .JSONAssert ;
29
-
30
30
import static org .assertj .core .api .Assertions .assertThat ;
31
31
32
32
/**
You can’t perform that action at this time.
0 commit comments