Sample should permit people to anonymously call all methods except post(Account).
This commit is contained in:
parent
1fece47b49
commit
595a14dbd5
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue