We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have single method say "updateTransaction". Now I have two aspects , logging and authorization on this method.
Authorization aspect checks whether logged in user is authorized to update the transaction and logging aspect logs the parameters. I can
Module Code:
AuthorizationImpl authorization = new AuthorizationImpl(); this.requestInjection(authorization); bindInterceptor(Matchers.any(), Matchers.annotatedWith(Authorized.class), authorization); final Logger logger= new Logger(); this.requestInjection(logger); this.bindInterceptor(Matchers.any(), Matchers.annotatedWith(Logger.class), logger);
Method :
@Authorized @Logger public boolean updateTransaction(...)
Questions:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have single method say "updateTransaction". Now I have two aspects , logging and authorization on this method.
Authorization aspect checks whether logged in user is authorized to update the transaction and logging aspect logs the parameters.
I can
Module Code:
Method :
Questions:
The text was updated successfully, but these errors were encountered: