Skip to content

Commit

Permalink
Merge branch '6.4.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
jzheaux committed Jan 17, 2025
2 parents fd00247 + 45da5c9 commit 9a3bbf8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.springframework.security.access.annotation;

import java.io.Serial;
import java.util.ArrayList;
import java.util.List;

Expand All @@ -24,6 +25,9 @@
*/
public class BusinessServiceImpl<E extends Entity> implements BusinessService {

@Serial
private static final long serialVersionUID = -4249394090237180795L;

@Override
@Secured({ "ROLE_USER" })
public void someUserMethod1() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.springframework.security.access.annotation;

import java.io.Serial;
import java.util.ArrayList;
import java.util.List;

Expand All @@ -25,6 +26,9 @@

public class ExpressionProtectedBusinessServiceImpl implements BusinessService {

@Serial
private static final long serialVersionUID = -3320014879907436606L;

@Override
public void someAdminMethod() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.springframework.security.access.annotation;

import java.io.Serial;
import java.util.ArrayList;
import java.util.List;

Expand All @@ -28,6 +29,9 @@
@PermitAll
public class Jsr250BusinessServiceImpl implements BusinessService {

@Serial
private static final long serialVersionUID = -7550211450382764339L;

@Override
@RolesAllowed("ROLE_USER")
public void someUserMethod1() {
Expand Down

0 comments on commit 9a3bbf8

Please sign in to comment.