@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=com.holonplatform.vaadin.spring.internal.SecurityAnnotationsViewAccessControlConfiguration.class) public @interface EnableViewAuthorization
View authorization control using javax.annotation.security annotations on View class
(RolesAllowed, PermitAll, DenyAll) and relying on AuthContext to perform
authorization control.
An AuthContext instance must be available as Context resource in order to perform access control,
otherwise an IllegalStateException is thrown.
This annotation should be added on a Configuration class of the application to automatically import
SecurityAnnotationsViewAccessControlConfiguration.
Copyright © 2019 The Holon Platform. All rights reserved.