@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Documented
@Inherited
@Repeatable(RolesContainer.class)
@AbacAnnotation
public static @interface RoleValidator.Roles
| Modifier and Type | Required Element | Description |
|---|---|---|
java.lang.String[] |
value |
Array of roles allowed for this resource.
|
| Modifier and Type | Optional Element | Description |
|---|---|---|
SubjectType |
subjectType |
Subject type for this restriction, defaults to
SubjectType.USER. |
java.lang.String[] value
SubjectType subjectType
SubjectType.USER.Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.