Revert Documentation changes
This commit is contained in:
parent
35bdf1f009
commit
50b4883756
|
@ -1165,11 +1165,14 @@ These will be passed to the AccessDecisionManager for it to make the actual deci
|
|||
----
|
||||
public interface BankService {
|
||||
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") Account readAccount(Long id);
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY")
|
||||
public Account readAccount(Long id);
|
||||
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") Account[] findAccounts();
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY")
|
||||
public Account[] findAccounts();
|
||||
|
||||
@Secured("ROLE_TELLER") Account post(Account account, double amount);
|
||||
@Secured("ROLE_TELLER")
|
||||
public Account post(Account account, double amount);
|
||||
}
|
||||
----
|
||||
|
||||
|
@ -1200,11 +1203,14 @@ and the equivalent Java code would be
|
|||
----
|
||||
public interface BankService {
|
||||
|
||||
@PreAuthorize("isAnonymous()") Account readAccount(Long id);
|
||||
@PreAuthorize("isAnonymous()")
|
||||
public Account readAccount(Long id);
|
||||
|
||||
@PreAuthorize("isAnonymous()") Account[] findAccounts();
|
||||
@PreAuthorize("isAnonymous()")
|
||||
public Account[] findAccounts();
|
||||
|
||||
@PreAuthorize("hasAuthority('ROLE_TELLER')") Account post(Account account, double amount);
|
||||
@PreAuthorize("hasAuthority('ROLE_TELLER')")
|
||||
public Account post(Account account, double amount);
|
||||
}
|
||||
----
|
||||
|
||||
|
|
|
@ -763,11 +763,14 @@ These will be passed to the `AccessDecisionManager` for it to make the actual de
|
|||
----
|
||||
public interface BankService {
|
||||
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") Account readAccount(Long id);
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY")
|
||||
public Account readAccount(Long id);
|
||||
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY") Account[] findAccounts();
|
||||
@Secured("IS_AUTHENTICATED_ANONYMOUSLY")
|
||||
public Account[] findAccounts();
|
||||
|
||||
@Secured("ROLE_TELLER") Account post(Account account, double amount);
|
||||
@Secured("ROLE_TELLER")
|
||||
public Account post(Account account, double amount);
|
||||
}
|
||||
----
|
||||
|
||||
|
@ -792,11 +795,14 @@ and the equivalent Java code would be
|
|||
----
|
||||
public interface BankService {
|
||||
|
||||
@PreAuthorize("isAnonymous()") Account readAccount(Long id);
|
||||
@PreAuthorize("isAnonymous()")
|
||||
public Account readAccount(Long id);
|
||||
|
||||
@PreAuthorize("isAnonymous()") Account[] findAccounts();
|
||||
@PreAuthorize("isAnonymous()")
|
||||
public Account[] findAccounts();
|
||||
|
||||
@PreAuthorize("hasAuthority('ROLE_TELLER')") Account post(Account account, double amount);
|
||||
@PreAuthorize("hasAuthority('ROLE_TELLER')")
|
||||
public Account post(Account account, double amount);
|
||||
}
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in New Issue