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 1616
1717package org .springframework .security .access .annotation ;
1818
19+ import java .io .Serial ;
1920import java .util .ArrayList ;
2021import java .util .List ;
2122
2425 */
2526public class BusinessServiceImpl <E extends Entity > implements BusinessService {
2627
28+ @ Serial
29+ private static final long serialVersionUID = -4249394090237180795L ;
30+
2731 @ Override
2832 @ Secured ({ "ROLE_USER" })
2933 public void someUserMethod1 () {
Original file line number Diff line number Diff line change 1616
1717package org .springframework .security .access .annotation ;
1818
19+ import java .io .Serial ;
1920import java .util .ArrayList ;
2021import java .util .List ;
2122
2526
2627public class ExpressionProtectedBusinessServiceImpl implements BusinessService {
2728
29+ @ Serial
30+ private static final long serialVersionUID = -3320014879907436606L ;
31+
2832 @ Override
2933 public void someAdminMethod () {
3034 }
Original file line number Diff line number Diff line change 1616
1717package org .springframework .security .access .annotation ;
1818
19+ import java .io .Serial ;
1920import java .util .ArrayList ;
2021import java .util .List ;
2122
2829@ PermitAll
2930public class Jsr250BusinessServiceImpl implements BusinessService {
3031
32+ @ Serial
33+ private static final long serialVersionUID = -7550211450382764339L ;
34+
3135 @ Override
3236 @ RolesAllowed ("ROLE_USER" )
3337 public void someUserMethod1 () {
You can’t perform that action at this time.
0 commit comments