Interface BankingApprovalService
- All Known Implementing Classes:
BankingApprovalServiceImpl
public interface BankingApprovalService
Security pattern example for approving a payment-like request.
-
Method Summary
Modifier and TypeMethodDescriptionapprovePayment(PaymentId id, Money amount) Approves a payment request when the caller has the required role and permission.auditLog()Returns safe application audit entries for demonstration.
-
Method Details
-
approvePayment
Approves a payment request when the caller has the required role and permission.- Parameters:
id- payment identifieramount- sensitive amount value- Returns:
- approval result
-
auditLog
-