diff --git a/samples/tutorial/src/main/java/bigbank/BankService.java b/samples/tutorial/src/main/java/bigbank/BankService.java index dfbf60f0ba..90c21ccde5 100644 --- a/samples/tutorial/src/main/java/bigbank/BankService.java +++ b/samples/tutorial/src/main/java/bigbank/BankService.java @@ -4,10 +4,10 @@ import org.springframework.security.annotation.Secured; public interface BankService { - @Secured("IS_AUTHENTICATED_REMEMBERED") + @Secured("IS_AUTHENTICATED_ANONYMOUSLY") public Account readAccount(Long id); - @Secured("IS_AUTHENTICATED_REMEMBERED") + @Secured("IS_AUTHENTICATED_ANONYMOUSLY") public Account[] findAccounts(); @Secured("ROLE_TELLER")