I'm performing migration of project from JSP to JSF.
In JSP pages I have these imports
<%@ page import="org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter"%>
<%@ page import="org.springframework.security.core.AuthenticationException"%>
<%@ page import="org.springframework.security.web.WebAttributes"%>
What is the purpose of these imports in JSP? I'm asking it because JSF login page is working without it. From this point I have another question, should I replace it with anything in JSF page?