com.holonplatform.vaadin.spring.config

## Annotation Type EnableViewAuthorization

-     @Target(value=TYPE)
       @Retention(value=RUNTIME)
       @Documented
       @Import(value=com.holonplatform.vaadin.spring.internal.SecurityAnnotationsViewAccessControlConfiguration.class)
      public @interface EnableViewAuthorization

  Enables `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`.

  Since:
    5.0.0

Copyright © 2019 The Holon Platform. All rights reserved.