Skip to content
New issue

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

should make filter supporting annotation #3

Open
simlegate opened this issue Dec 27, 2014 · 1 comment
Open

should make filter supporting annotation #3

simlegate opened this issue Dec 27, 2014 · 1 comment

Comments

@simlegate
Copy link

For example:

@Component("loggingFilter")
public class LoggingFilter extends OncePerRequestFilter {
   //  .......
}
@vertti
Copy link

vertti commented Jun 3, 2015

This in any @Configuration class already works just fine:

@Bean
public Filter loggingFilter() {
    return new com.github.isrsal.logging.LoggingFilter();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants