{
  "name": "Spring",
  "description": "Spring Module Plugin",
  "version": "2.1.1",
  "vendor": "Mulesoft",
  "supportedJavaVersions": [
    "1.8",
    "11",
    "17"
  ],
  "category": "COMMUNITY",
  "xmlDsl": {
    "prefix": "spring",
    "namespace": "http://www.mulesoft.org/schema/mule/spring",
    "schemaLocation": "http://www.mulesoft.org/schema/mule/spring/current/mule-spring.xsd",
    "schemaVersion": "2.1.1",
    "xsdFileName": "mule-spring.xsd"
  },
  "resources": [],
  "subTypes": [],
  "privilegedPackages": [],
  "privilegedArtifacts": [],
  "externalLibraries": [
    {
      "name": "Spring Beans",
      "description": "Spring Beans (http://projects.spring.io/spring-framework). Based on the application usage of the Spring Framework, other spring dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework:spring-beans:6.2.11",
      "optional": false
    },
    {
      "name": "Spring Context",
      "description": "Spring Context (http://projects.spring.io/spring-framework). Based on the application usage of the Spring Framework, other spring dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework:spring-context:6.2.11",
      "optional": false
    },
    {
      "name": "Spring Core",
      "description": "Spring Core (http://projects.spring.io/spring-framework). Based on the application usage of the Spring Framework, other spring dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework:spring-core:6.2.11",
      "optional": false
    },
    {
      "name": "Spring Security Config",
      "description": "Spring Security Config (http://spring.io/spring-security). Based on the application usage of the Spring Framework, other spring/spring-security dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework.security:spring-security-config:6.5.4",
      "optional": false
    },
    {
      "name": "Spring Security Core",
      "description": "Spring Security Context (http://spring.io/spring-security). Based on the application usage of the Spring Framework, other spring/spring-security dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework.security:spring-security-core:6.5.4",
      "optional": false
    },
    {
      "name": "Spring Security Crypto",
      "description": "Spring Security Context (http://spring.io/spring-security). Based on the application usage of the Spring Framework, other spring/spring-security dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework.security:spring-security-crypto:6.5.4",
      "optional": false
    },
    {
      "name": "Spring Security LDAP",
      "description": "Spring Security LDAP (http://spring.io/spring-security). Based on the application usage of the Spring Framework, other spring/spring-security dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework.security:spring-security-ldap:6.5.4",
      "optional": true
    },
    {
      "name": "Spring Security Web",
      "description": "Spring Security Web (http://spring.io/spring-security). Based on the application usage of the Spring Framework, other spring/spring-security dependencies may be required.",
      "type": "DEPENDENCY",
      "suggestedCoordinates": "org.springframework.security:spring-security-web:6.5.4",
      "optional": true
    }
  ],
  "importedTypes": [],
  "configurations": [
    {
      "stereotype": {
        "type": "CONFIG",
        "namespace": "SPRING",
        "parent": {
          "type": "APP_CONFIG",
          "namespace": "MULE"
        }
      },
      "parameterGroupModels": [
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "files",
              "description": "",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": true,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "name",
              "description": "The identifier of this element used to reference it in other components",
              "modelProperties": {}
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 1
          },
          "showInDsl": false,
          "name": "General",
          "description": "",
          "modelProperties": {}
        }
      ],
      "externalLibraryModels": [],
      "operations": [],
      "connectionProviders": [],
      "messageSources": [],
      "name": "config",
      "description": "Spring configuration that allows to define a set of spring XML files and create an application context with objects to be used in the mule artifact.",
      "modelProperties": {}
    }
  ],
  "operations": [
    {
      "blocking": true,
      "executionType": "CPU_LITE",
      "output": {
        "type": {
          "format": "java",
          "type": "Void"
        },
        "hasDynamicType": false,
        "description": "",
        "modelProperties": {}
      },
      "outputAttributes": {
        "type": {
          "format": "java",
          "type": "Void"
        },
        "hasDynamicType": false,
        "description": "",
        "modelProperties": {}
      },
      "transactional": false,
      "requiresConnection": false,
      "supportsStreaming": false,
      "notifications": [],
      "nestedComponents": [],
      "errors": [
        "MULE:SERVER_SECURITY",
        "MULE:NOT_PERMITTED"
      ],
      "semanticTerms": [],
      "visibility": "PUBLIC",
      "stereotype": {
        "type": "AUTHORIZATION-FILTER",
        "namespace": "SPRING",
        "parent": {
          "type": "PROCESSOR",
          "namespace": "SPRING",
          "parent": {
            "type": "PROCESSOR",
            "namespace": "MULE"
          }
        }
      },
      "parameterGroupModels": [
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "requiredAuthorities",
              "description": "",
              "modelProperties": {}
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 1
          },
          "showInDsl": false,
          "name": "General",
          "description": "",
          "modelProperties": {}
        },
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "Array",
                "annotations": {
                  "infrastructureType": {},
                  "description": {
                    "value": "Determines that an error thrown by this operation should be mapped to another"
                  },
                  "typeDsl": {
                    "allowInlineDefinition": true,
                    "allowTopLevelDefinition": false
                  }
                },
                "item": {
                  "type": "Object",
                  "annotations": {
                    "typeId": "errorMapping",
                    "infrastructureType": {}
                  },
                  "fields": [
                    {
                      "key": {
                        "name": "source"
                      },
                      "model": {
                        "format": {
                          "id": "text",
                          "label": "Text",
                          "validMimeTypes": [
                            "text/plain"
                          ]
                        },
                        "type": "String",
                        "annotations": {
                          "typeId": "errorTypeMatcher",
                          "enum": {
                            "type": "[Ljava.lang.String;",
                            "values": [
                              "ANY",
                              "REDELIVERY_EXHAUSTED",
                              "TRANSFORMATION",
                              "EXPRESSION",
                              "SECURITY",
                              "CLIENT_SECURITY",
                              "SERVER_SECURITY",
                              "ROUTING",
                              "CONNECTIVITY",
                              "RETRY_EXHAUSTED",
                              "TIMEOUT"
                            ]
                          }
                        }
                      }
                    },
                    {
                      "key": {
                        "name": "target",
                        "required": "true"
                      },
                      "model": {
                        "format": {
                          "id": "text",
                          "label": "Text",
                          "validMimeTypes": [
                            "text/plain"
                          ]
                        },
                        "type": "String",
                        "annotations": {
                          "typeId": "errorTypeDefinition"
                        }
                      }
                    }
                  ]
                }
              },
              "hasDynamicType": false,
              "required": false,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": true,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 2,
                "tabName": "Error Mapping"
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "errorMappings",
              "description": "Set of error mappings",
              "modelProperties": {
                "org.mule.runtime.extension.api.property.QNameModelProperty": {
                  "value": {
                    "namespaceURI": "http://www.mulesoft.org/schema/mule/core",
                    "localPart": "error-mappings",
                    "prefix": "mule"
                  }
                },
                "sinceMuleVersion": {
                  "version": "4.4.0"
                },
                "org.mule.runtime.extension.api.property.InfrastructureParameterModelProperty": {
                  "sequence": 12
                }
              }
            }
          ],
          "exclusiveParametersModels": [],
          "layoutModel": {
            "password": false,
            "text": false,
            "query": false,
            "order": 2
          },
          "showInDsl": false,
          "name": "Error Mappings",
          "description": "",
          "modelProperties": {}
        }
      ],
      "name": "authorization-filter",
      "description": "Authorize users against a required set of authorities.",
      "modelProperties": {},
      "kind": "operation"
    }
  ],
  "functions": [],
  "constructs": [
    {
      "allowsTopLevelDefinition": true,
      "nestedComponents": [],
      "errors": [],
      "semanticTerms": [],
      "visibility": "PUBLIC",
      "stereotype": {
        "type": "SECURITY_MANAGER",
        "namespace": "SPRING",
        "parent": {
          "type": "APP_CONFIG",
          "namespace": "MULE"
        }
      },
      "parameterGroupModels": [
        {
          "parameters": [
            {
              "type": {
                "format": "java",
                "type": "String"
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": true,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": false,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "name",
              "description": "",
              "modelProperties": {}
            },
            {
              "type": {
                "format": "java",
                "type": "Array",
                "item": {
                  "type": "@ref:org.mule.extension.spring.internal.SpringSecurityProvider"
                }
              },
              "hasDynamicType": false,
              "required": true,
              "isConfigOverride": false,
              "isComponentId": false,
              "fieldValueProviderModels": [],
              "expressionSupport": "NOT_SUPPORTED",
              "role": "BEHAVIOUR",
              "dslConfiguration": {
                "allowsInlineDefinition": true,
                "allowsReferences": false,
                "allowTopLevelDefinition": false
              },
              "layoutModel": {
                "password": false,
                "text": false,
                "query": false,
                "order": 1
              },
              "allowedStereotypeModels": [],
              "semanticTerms": [],
              "name": "delegateSecurityProviders",
              "description": "",
              "modelProperties": {}
            }
          ],
          "exclusiveParametersModels": [],
          "showInDsl": false,
          "name": "General",
          "description": "",
          "modelProperties": {}
        }
      ],
      "name": "securityManager",
      "description": "Security manager that allows configuring Spring security providers.",
      "modelProperties": {},
      "kind": "construct"
    }
  ],
  "connectionProviders": [],
  "messageSources": [],
  "artifactCoordinates": {
    "artifact id": "mule-spring-module",
    "group id": "org.mule.modules",
    "version": "2.1.1"
  },
  "notifications": [],
  "errors": [
    {
      "error": "MULE:SERVER_SECURITY",
      "parent": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "MULE:ANY",
      "handleable": true
    },
    {
      "error": "MULE:NOT_PERMITTED",
      "parent": "MULE:ANY",
      "handleable": true
    }
  ],
  "modelProperties": {},
  "types": [
    {
      "format": "java",
      "type": "Object",
      "annotations": {
        "typeId": "org.mule.extension.spring.internal.SpringSecurityProvider",
        "classInformation": {
          "classname": "org.mule.extension.spring.internal.SpringSecurityProvider",
          "hasDefaultConstructor": true,
          "isInterface": false,
          "isInstantiable": true,
          "isAbstract": false,
          "isFinal": false,
          "implementedInterfaces": [],
          "parent": "",
          "genericTypes": [],
          "isMap": false
        },
        "typeAlias": {
          "value": "DelegateSecurityProvider"
        }
      },
      "fields": [
        {
          "key": {
            "name": "name",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "description": {
              "value": "Provider name to allow referencing it."
            },
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "delegate-ref",
            "required": "true"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "display": {
              "displayModel": {
                "displayName": "Delegate Reference"
              }
            },
            "description": {
              "value": "Reference to a Spring Security Manager to use."
            },
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        },
        {
          "key": {
            "name": "authenticationProvider-ref"
          },
          "model": {
            "type": "String"
          },
          "annotations": {
            "display": {
              "displayModel": {
                "displayName": "Authentication Provider Reference"
              }
            },
            "description": {
              "value": "Reference to an authentication provider to use."
            },
            "expressionSupport": {
              "value": "NOT_SUPPORTED"
            }
          }
        }
      ]
    }
  ]
}
