Package alpine.server.filters
package alpine.server.filters
This package contains JAX-RS and Servlet filters.
-
ClassesClassDescriptionDetermines if authentication is required or not (via
Config.AlpineKey.ENFORCE_AUTHENTICATIONand if so mandates that all resources requested are authenticated unless they are annotated withAuthenticationNotRequired.A filter that ensures that all calls going through this filter are authenticated.Determines if authorization is required or not (viaConfig.AlpineKey.ENFORCE_AUTHENTICATIONandConfig.AlpineKey.ENFORCE_AUTHORIZATIONand if so mandates that all resources requested have the necessary permissions required to access the resource usingPermissionRequired.A filter that ensures that all principals making calls that are going through this filter have the necessary permissions to do so.BlacklistUrlFilter is a configurable Servlet Filter that can prevent access to specific URLs.Implements HTTP Header Field X-Frame-Options (RFC 7034).Implements W3C Content Security Policy (Level 1 and 2).FqdnForwardFilter is a configurable Servlet Filter that can forward requests made to a hostname or IP address to another host via a 301 redirect.Provides a way to gzip the response if the client can accept a gzip response.Registers theHeaderFilter.Adds Powered-By and cache-control headers.Implements HTTP Public Key Pinning (RFC 7469).Implements HTTP Strict Transport Security (HSTS) (RFC 6797).Adds the ability to optionally output pretty printed responses.The RequestRateThrottleFilter is a Servlet filter that can place a hard limit on the number of requests per second.WhitelistUrlFilter is a configurable Servlet Filter that can prevent access to specific URLs.