Class SecurityViewModelProcessor

java.lang.Object
io.micronaut.views.model.security.SecurityViewModelProcessor
All Implemented Interfaces:
ViewModelProcessor<Map<String,Object>>

@Requires(property="micronaut.security.views-model-decorator.enabled",notEquals="false") @Requires(beans={io.micronaut.security.filters.SecurityFilter.class,SecurityViewModelProcessorConfiguration.class}) @Requires(classes=io.micronaut.http.HttpRequest.class) @Singleton public class SecurityViewModelProcessor extends Object implements ViewModelProcessor<Map<String,Object>>
Returns information about the current user so that it can be appended to the model being rendered.
Since:
1.1.0
Author:
Sergio del Amo