@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface TestSecurity
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
UNAUTHENTICATED |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
authorized
List of roles for which the test should succeed.
|
java.lang.String[] |
unauthorized
List of roles for which the test should fail with an EJBAccessException
|