Abstract
Abstract
interceptIntercepts a capability before being registered.
An interceptor can add extra capabilities and intentions to the manifest of the intercepted capability. This may be necessary to migrate capabilities.
Capability to be intercepted.
Manifest of the application that provides the intercepted capability, allowing for the registration of extra capabilities and intentions.
Enables modification of capabilities before they are registered.
Interceptors can intercept capabilities before they are registered, for example, to perform validation checks, add metadata, change properties, or prevent registration based on user permissions.
The following interceptor assigns a stable identifier to each microfrontend capability.
The following interceptor marks capabilities as inactive based on user permissions.
The following interceptor extracts user information to a new capability.
Registering Interceptors
Interceptors are registered in the bean manager of the host application under the symbol
CapabilityInterceptor
as multi bean. Multiple interceptors can be registered, forming a chain in which each interceptor is called one by one in registration order.