File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
core/src/test/java/org/springframework/security/access/annotation Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .security .access .annotation ;
18
18
19
+ import java .io .Serial ;
19
20
import java .util .ArrayList ;
20
21
import java .util .List ;
21
22
24
25
*/
25
26
public class BusinessServiceImpl <E extends Entity > implements BusinessService {
26
27
28
+ @ Serial
29
+ private static final long serialVersionUID = -4249394090237180795L ;
30
+
27
31
@ Override
28
32
@ Secured ({ "ROLE_USER" })
29
33
public void someUserMethod1 () {
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .security .access .annotation ;
18
18
19
+ import java .io .Serial ;
19
20
import java .util .ArrayList ;
20
21
import java .util .List ;
21
22
25
26
26
27
public class ExpressionProtectedBusinessServiceImpl implements BusinessService {
27
28
29
+ @ Serial
30
+ private static final long serialVersionUID = -3320014879907436606L ;
31
+
28
32
@ Override
29
33
public void someAdminMethod () {
30
34
}
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .security .access .annotation ;
18
18
19
+ import java .io .Serial ;
19
20
import java .util .ArrayList ;
20
21
import java .util .List ;
21
22
28
29
@ PermitAll
29
30
public class Jsr250BusinessServiceImpl implements BusinessService {
30
31
32
+ @ Serial
33
+ private static final long serialVersionUID = -7550211450382764339L ;
34
+
31
35
@ Override
32
36
@ RolesAllowed ("ROLE_USER" )
33
37
public void someUserMethod1 () {
You can’t perform that action at this time.
0 commit comments