Allow Any Origin Filter
An servlet filter which appends the CORS headers to HTTP responses.
Requests from any origin are allowed. The requests are allowed to contain credentials and the Content-Type
header.
When configuring servlets via web.xml
, users can add this filter to the requested servlets.
When configuring servlets via annotations, users can extend this class and mark the subtype with the javax.servlet.annotation.WebFilter
annotation.