Package com.sun.identity.setup
Class AMSetupFilter
- java.lang.Object
-
- com.sun.identity.setup.AMSetupFilter
-
- All Implemented Interfaces:
jakarta.servlet.Filter
public final class AMSetupFilter extends Object implements jakarta.servlet.Filter
This filter brings the administrator to a configuration page where the product can be configured if the product is not yet configured.
-
-
Constructor Summary
Constructors Constructor Description AMSetupFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voiddoFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain filterChain)Redirects requests to configuration page if the product is not yet configured.voidinit(jakarta.servlet.FilterConfig config)
-
-
-
Method Detail
-
init
public void init(jakarta.servlet.FilterConfig config) throws jakarta.servlet.ServletException- Specified by:
initin interfacejakarta.servlet.Filter- Throws:
jakarta.servlet.ServletException
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, jakarta.servlet.FilterChain filterChain) throws IOException, jakarta.servlet.ServletExceptionRedirects requests to configuration page if the product is not yet configured.- Specified by:
doFilterin interfacejakarta.servlet.Filter- Parameters:
req- The HTTP request.resp- The HTTP response.filterChain- The filter chain.- Throws:
IOException- If configuration file cannot be read.jakarta.servlet.ServletException- If there are errors in the servlet space.
-
destroy
public void destroy()
- Specified by:
destroyin interfacejakarta.servlet.Filter
-
-