@Target(value={TYPE,METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented @SecurityBindingType @ViewMetaData(preProcessor=Secured.AnnotationPreProcessor.class) public @interface Secured
| Modifier and Type | Required Element and Description | 
|---|---|
Class<? extends AccessDecisionVoter>[] | 
value
AccessDecisionVoters which will be invoked before accessing the intercepted instance or in case of
 view-configs before a view gets used. | 
| Modifier and Type | Optional Element and Description | 
|---|---|
Class<? extends ViewConfig> | 
errorView
Optional inline error-view if it is required to show an error-page
 which is different from the default error page. 
 | 
public abstract Class<? extends AccessDecisionVoter>[] value
AccessDecisionVoters which will be invoked before accessing the intercepted instance or in case of
 view-configs before a view gets used.public abstract Class<? extends ViewConfig> errorView
Copyright © 2017 The Apache Software Foundation. All rights reserved.