Sample should permit people to anonymously call all methods except post(Account).

This commit is contained in:
Ben Alex 2008-03-28 00:44:42 +00:00
parent 1fece47b49
commit 595a14dbd5
1 changed files with 2 additions and 2 deletions

View File

@ -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")