@java.lang.annotation.Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
@java.lang.annotation.Retention(RetentionPolicy.RUNTIME)
@java.lang.annotation.Inherited
@java.lang.annotation.Documented
public @interface AclVoter
Annotation for Controllers or Services at the class level or per-action/per-method, defining what roles and/or ACL voters are required for the entire controller or action.
| Type | Name and Description |
|---|---|
java.lang.String |
configAttributeThe config attribute, e.g. |
java.lang.String |
nameThe bean name of the associated Voter. |
| Type | Name and Description |
|---|---|
java.lang.String[] |
permissionsThe org.springframework.security.acls.domain.BasePermission constant names that are required. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
The config attribute, e.g. ACL_REPORT_WRITE.
The bean name of the associated Voter.
The org.springframework.security.acls.domain.BasePermission constant names that are required. Defaults to org.springframework.security.acls.domain.BasePermission#READ.