|
|
|
@ -16,6 +16,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
package org.springframework.security.access.annotation; |
|
|
|
package org.springframework.security.access.annotation; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serial; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
@ -28,6 +29,9 @@ import jakarta.annotation.security.RolesAllowed; |
|
|
|
@PermitAll |
|
|
|
@PermitAll |
|
|
|
public class Jsr250BusinessServiceImpl implements BusinessService { |
|
|
|
public class Jsr250BusinessServiceImpl implements BusinessService { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Serial |
|
|
|
|
|
|
|
private static final long serialVersionUID = -7550211450382764339L; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@RolesAllowed("ROLE_USER") |
|
|
|
@RolesAllowed("ROLE_USER") |
|
|
|
public void someUserMethod1() { |
|
|
|
public void someUserMethod1() { |
|
|
|
|