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