Annotation Interface RunAs
Applies a run-as authentication to intercepted method invocations.
- Since:
- 5.1.0
- Author:
- Sergio del Amo
-
Element Details
-
value
-
name
String name- Returns:
- The user name for the run-as authentication, or the current user name when blank
- Default:
""
-
roles
- Returns:
- The roles for the run-as authentication
- Default:
{}
-
appendRoles
boolean appendRoles- Returns:
- Whether the supplied roles should be appended to the current authentication roles.
- Since:
- 5.1.0
- Default:
true
-
attributes
-
appendAttributes
boolean appendAttributes- Returns:
- Whether the supplied attributes should be appended to the current authentication attributes.
- Since:
- 5.1.0
- Default:
true
-