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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
doFilter
(ServletRequest request, ServletResponse response, FilterChain chain) void
init
(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:
doFilter
in interfaceFilter
- Throws:
IOException
ServletException
-
destroy
public void destroy()
-