@Documented @Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) public @interface ApiAuthBasic
| Modifier and Type | Required Element and Description |
|---|---|
String[] |
roles
The role(s) a user must have to correctly access the annotated controller/method
|
| Modifier and Type | Optional Element and Description |
|---|---|
ApiAuthBasicUser[] |
testusers
A list of test users that can be used to test methods with different username/password/roles combinations
|
public abstract String[] roles
public abstract ApiAuthBasicUser[] testusers
Copyright © 2015. All rights reserved.