Class ApacheAuthenticationFilter

java.lang.Object
com.aoapps.servlet.filter.ApacheAuthenticationFilter
All Implemented Interfaces:
Filter

public class ApacheAuthenticationFilter extends Object implements 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.