Class ApiKeysInterceptor

java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.apikey.ApiKeysInterceptor
All Implemented Interfaces:
Interceptor

public class ApiKeysInterceptor extends AbstractInterceptor
Description
Secures APIs by validating keys stored in either files or proxies.xml. Keys can be received from clients via HTTP headers or URL query parameters. Additional permission checks are possible through scope validation - scopes are loaded into an Exchange property and can be checked using the "hasScope()" SpEL function.
Topic
6. Security