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