-
Notifications
You must be signed in to change notification settings - Fork 79
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
how to add filter #55
Comments
hi @aelmottaki , The urlPatterns "/src/*" is correct? |
hi @persapiens ,
} and i registered the filter like that @configurable } i have two jsf pages Dashboard.xhtml and loginPage.xhtml in sc directory |
Hi @aelmottaki , I could see LoginFilter working if include AppConfig at org.joinfaces.example package and LoginFilter at org.joinfaces.example.view package. I don't have access to UserSessionBean class. Note that joinfaces-example uses spring-security. |
i want to add a login filter to my app
so i registred the filter like that
@bean
public FilterRegistrationBean loginFilter(){
FilterRegistrationBean registration = new FilterRegistrationBean();
registration.setFilter(new LoginFilter());
registration.addUrlPatterns("/src//*");
return registration;
}
but it seems not working i don't know why !!
The text was updated successfully, but these errors were encountered: