← Back to plugin index

User-Agent Mapping

Description
Maps a user-agent to a new value.
Type name
RememberMeUserAgentMapping
Class
com.airlock.iam.selfservice.application.configuration.rememberme.RememberMeUserAgentMappingConfig
May be used by
Properties
Pattern (pattern)
Description
The regular expression that is matched against the user-agent header. If it matches, the replacement is applied.
Attributes
RegEx
Mandatory
Replacement (replacement)
Description
The replacement expression. If the user-agent matches the pattern, it will be replaced by this expression.
Attributes
String
Mandatory
Example
Mobile App
Example
$1 (Web Browser)
YAML Template (with default values)

type: RememberMeUserAgentMapping
id: RememberMeUserAgentMapping-xxxxxx
displayName: 
comment: 
properties:
  pattern:
  replacement: