org.baswell.routes
Interface MetaAuthenticator
- All Known Implementing Classes:
- BasicMetaAuthenticator, SimpleMetaAuthenticator
public interface MetaAuthenticator
Authentication implementation for Routes meta page.
- See Also:
RoutesConfiguration.metaAuthenticator,
RoutesConfiguration.routesMetaPath
metaRequestAuthenticated
boolean metaRequestAuthenticated(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
throws java.io.IOException,
javax.servlet.ServletException
- Called when the current HTTP request matches
RoutesConfiguration.routesMetaPath. If true
is returned the Routes meta page will be displayed.
- Parameters:
servletRequest - The HTTP request.servletResponse - The HTTP response
- Returns:
- True if the Routes meta page is allowed to be shown, false otherwise.
- Throws:
java.io.IOException - If an input or output error occurs while the servlet is handling the HTTP request.
javax.servlet.ServletException - If the HTTP request cannot be handled.