SpringOne

Spring One - závěrečný den

@PreAuthorize('hasRole('ROLE_DIRECTOR') or (hasRole('ROLE_USER') and (#account.balance < 1000))') public void wihtdrawFromAccount(BigDecimal amount) { //do something }