← Back to plugin index

Body Status On Behalf Login Step Validator

Description
Validates the HTTP response of a login step. If one of the patterns defined in "successCases" is found in the response and none of the other patterns ("accessDeniedCases" or "technicalErrorCases") are found, the validation is successful. More precisely, the following validation checks are performed in this order:
  1. The technical error patterns are validated. In case one of the technical error patterns matches, the validation fails.
  2. The access denied patterns are matched. In case one of the access denied patterns matches, the validation fails with an access denied error.
  3. In case one of the success patterns matches, the validation is successful. In case none of the success patterns match, the validation fails with a technical error.
Type name
BodyStatusOnBehalfLoginStepValidator
Class
com.airlock.iam.core.misc.impl.sso.onbehalflogin.BodyStatusOnBehalfLoginStepValidator
May be used by
Properties
Success Cases (successCases)
Description
After the error and access denied validation is finished, one of the success patterns must match in order that the validation is successful.
Attributes
RegEx-List
Mandatory
Access Denied Cases (accessDeniedCases)
Description
None of the access denied patterns are allowed to match the response or the validation fails with an access denied error.
Attributes
RegEx-List
Optional
Technical Error Cases (technicalErrorCases)
Description
The technical error patterns are validated first. None of the technical error patterns are allowed to match the response or the validation fails with a technical error.
Attributes
RegEx-List
Optional
YAML Template (with default values)

type: BodyStatusOnBehalfLoginStepValidator
id: BodyStatusOnBehalfLoginStepValidator-xxxxxx
displayName: 
comment: 
properties:
  accessDeniedCases:
  successCases:
  technicalErrorCases: