← Back to plugin index

Software ID and Software Version Processor

Description
Processes the "software_id" and "software_version" metadata attributes. The values are taken from the request as long as they match the configured regular expression and don't exceed the length limits imposed by the database.
Type name
SoftwareIdAndVersionProcessor
Class
com.airlock.iam.techclientreg.application.configuration.registration.SoftwareIdAndVersionProcessorConfig
May be used by
License-Tags
TechClientRegistration
Properties
Allowed Ids (allowedIds)
Description
Regex limiting the software_id provided by the client.
Attributes
RegEx
Optional
Default value
[a-zA-Z0-9_.-]+
Allowed Versions (allowedVersions)
Description
Regex limiting the software_version provided by the client.
Attributes
RegEx
Optional
Default value
[a-zA-Z0-9_.-]+
Mandatory (mandatory)
Description
If mandatory, an error is returned in case either software_id or software_version is missing or at least one doesn't match the respective configured pattern. Otherwise, both software_id and software_version are ignored and not set on the registered client.
Attributes
Boolean
Optional
Default value
true
YAML Template (with default values)

type: SoftwareIdAndVersionProcessor
id: SoftwareIdAndVersionProcessor-xxxxxx
displayName: 
comment: 
properties:
  allowedIds: [a-zA-Z0-9_.-]+
  allowedVersions: [a-zA-Z0-9_.-]+
  mandatory: true