Admin Auth Filter
Auth filter for the admin servlet to ensure that it checks against the configured adminAuthToken
Constructors
Functions
Link copied to clipboard
Extract the basic auth info from the ServletRequest and compare against the configured token. If unable to match, then set HttpServletResponse.SC_UNAUTHORIZED and throw an Exception to prevent the chain from processing.
Link copied to clipboard
If there's a configured auth token, call checkToken before resuming the chain processing