java.lang.Object
com.aoapps.servlet.filter.ApacheAuthenticationFilter
- All Implemented Interfaces:
Filter
Parses Apache group file for role information while under Apache authentication.
When tomcatAuthentication
is set to false, user information is passed to Tomcat while group membership is not.
The filter parses the Apache group file and grants access to the roles corresponding to group names.
This should be used for both the DispatcherType.REQUEST and DispatcherType.ERROR dispatchers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidinit(FilterConfig config)
-
Constructor Details
-
ApacheAuthenticationFilter
public ApacheAuthenticationFilter()
-
-
Method Details
-
init
-
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
doFilterin interfaceFilter- Throws:
IOExceptionServletException
-
destroy
public void destroy()
-
