public void authorize(boolean authorized, String taskId, String callbackUrl) { auctionService.authorizeAuction(taskId, authorized); Util.redirectTo(callbackUrl); }
@Produces @RequestScoped @Named("authorizeAuction") public Auction getAuction() { return auctionService.findAuctionByTaskId(taskId); }