Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. @Override
  2. @Secured({Authority.ACCESS_FUNDING})
  3. @PreAuthorize("hasPermission(principal, 'MODIFY')")
  4. public FundingAllocation newFundingAllocation(FundingAllocationForm fundingAllocationForm) {
  5. return newFundingAllocation(fundingAllocationForm, null);
  6. }
  7.  
  8. <security:global-method-security secured-annotations="enabled" pre-post-annotations="enabled">
  9. <security:expression-handler ref="securityExpressionHandler"/>
  10. </security:global-method-security>
  11.  
  12. @Override
  13. @PreAuthorized("hasAuthority('ACCESS_FUNDING') and hasPermission(principal, 'MODIFY')")
  14. public FundingAllocation newFundingAllocation(FundingAllocationForm fundingAllocationForm) {
  15. return newFundingAllocation(fundingAllocationForm, null);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement