Static Request Authentication
Description
Provides a static username and roles for the authentee.
Security warning:With this plugin, all requests to the REST API are considered authenticated and authorized accoring to the granted roles. Use this only for testing or in a trusted enviroment.
May be used by
Properties
Username (
username) Description
The username to authenticate with.
Attributes
String
Mandatory
User Store (
userStore) Description
If configured, the user is loaded from local persistence and checked for validity. Authentication fails if the user is not found or is invalid. If no user store is configured, no persistency look-up takes place and the authentication is performed on data contained within the credential only.
Attributes
Plugin-Link
Optional
Assignable plugins
Static Roles (
staticRoles) Description
Static list of roles granted to the authenticated user.
Attributes
String-List
Optional
Roles Blocklist (
rolesBlocklist) Description
List of role names that won't be granted to the authenticated user. The block list is also applied to persistent roles (if available).
Attributes
String-List
Optional
YAML Template (with default values)
type: StaticRequestAuthentication
id: StaticRequestAuthentication-xxxxxx
displayName:
comment:
properties:
rolesBlocklist:
staticRoles:
userStore:
username: