Contact Us 1-800-596-4880

Spring Module 2.0 Reference

Spring Module enables Mule apps to use the Spring framework.

Configurations


Config

Spring configuration that enables you to define a set of spring XML files and create an application context with objects to use in the Mule artifact.

Parameters

Name Type Description Default Value Required

Name

String

Name for this configuration. Connectors reference the configuration with this name.

x

Files

String

The Spring beans file.

x

Name

String

The identifier of this element used to reference it in other components.

x

Operations

Authorization Filter

<spring:authorization-filter>

Authorizes users against a required set of authorities.

Parameters

Name Type Description Default Value Required

Required Authorities

String

The authorities that grants the user further access to the flow, for example, ROLE_ADMIN,ROLE_USER.

x

Error Mappings

Array of Error Mapping

Set of error mappings.

Throws

  • MULE:NOT_PERMITTED

  • MULE:SERVER_SECURITY

Types

Error Mapping

Field Type Description Default Value Required

Source

Enumeration, one of:

  • ANY

  • REDELIVERY_EXHAUSTED

  • TRANSFORMATION

  • EXPRESSION

  • SECURITY

  • CLIENT_SECURITY

  • SERVER_SECURITY

  • ROUTING

  • CONNECTIVITY

  • RETRY_EXHAUSTED

  • TIMEOUT

Source of the error.

Target

String

Target of the error.

x

Delegate Security Provider

Field Type Description Default Value Required

Name

String

Provider name to reference.

x

Delegate Ref

String

Spring security manager.

x

View on GitHub