| Namespace | http://www.mulesoft.org/schema/mule/stormpath |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/stormpath/current/mule-stormpath.xsd (View Schema) |
| Schema Version | 3.4 |
| Minimum Mule Version | 3.4.0 |
Stormpath Connector.
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Attempt a login with the provided credentials.
| |||||||||||
Create an account.
| |||||||||||
Create an account store mapping.
| |||||||||||
Create an application.
| |||||||||||
Create a directory.
| |||||||||||
Create a group in a directory.
| |||||||||||
Add an account to a group.
| |||||||||||
Create a new password reset token for the provided email.
| |||||||||||
Delete an account.
| |||||||||||
Delete an account store mapping.
| |||||||||||
Delete an application.
| |||||||||||
Delete a directory.
| |||||||||||
Delete a group.
| |||||||||||
Remove an account from a group.
| |||||||||||
Read an account.
| |||||||||||
Read a paginated list of groups that belong to an account.
| |||||||||||
Read an account store mapping.
| |||||||||||
Read the account store mappings for an application.
| |||||||||||
Read an application.
| |||||||||||
Read a paginated list of accounts that belong to an application.
| |||||||||||
Read a directory.
| |||||||||||
Read a paginated list of accounts that belong to a directory.
| |||||||||||
Read a paginated list of groups that belong to a directory.
| |||||||||||
Read a group.
| |||||||||||
Read a paginated list of accounts that belong to a group.
| |||||||||||
Read an existing password reset token.
| |||||||||||
Read a tenant.
| |||||||||||
Read a paginated list of applications that belong to a tenant.
| |||||||||||
Read a paginated list of directories that belong to a tenant.
| |||||||||||
Update an account.
| |||||||||||
Update an account store mapping.
| |||||||||||
Update an application.
| |||||||||||
Update a directory.
| |||||||||||
Update a group.
| |||||||||||
Update a tenant.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:stormpath="http://www.mulesoft.org/schema/mule/stormpath"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/stormpath
http://www.mulesoft.org/schema/mule/stormpath/current/mule-stormpath.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necessary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Java Type | MIME Type | Encoding | Optional. Give a name to this configuration so it can be later referenced. | ||||
| Optional. The API key ID used to authenticate to Stormpath. | |||||||||||
| Optional. The API key secret used to authenticate to Stormpath. | |||||||||||
INCLUDE_ERROR
Attempt a login with the provided credentials.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 | ||
A LoginAttempt instance. |
LoginAttempt | */* |
| Return Type | Description |
|---|---|
| LoginSuccess | a LoginSuccess in case the login attempt was a success. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Create an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 | ||
The Account to create. |
Account | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Create an account store mapping.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
An AccountStoreMapping to create. |
AccountStoreMapping | */* |
| Return Type | Description |
|---|---|
| AccountStoreMapping | the created AccountStoreMapping instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Create an application.
INCLUDE_ERROR
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
The Application to create. |
Application | */* | |||
| false | Optional. Define if a directory should be created and associated with the new application. | boolean | */* |
| Return Type | Description |
|---|---|
| Application | the created Application instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Create a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
The Directory to create. |
Directory | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Create a group in a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 | ||
The Group to create. |
Group | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Add an account to a group.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
A GroupMembership instance that specifies the account and
group to link. |
GroupMembership | */* |
| Return Type | Description |
|---|---|
| GroupMembership | a newly created GroupMembership. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Create a new password reset token for the provided email.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 | ||
An Email instance. |
*/* |
| Return Type | Description |
|---|---|
| PasswordResetToken | a newly created PasswordResetToken instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Delete an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Delete an account store mapping.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account store mapping. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Delete an application.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Delete a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Delete a group.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the group. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Remove an account from a group.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the group membership. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a paginated list of groups that belong to an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account. | String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read an account store mapping.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account store mapping. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| AccountStoreMapping | an AccountStoreMapping instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read the account store mappings for an application.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| AccountStoreMappings | a AccountStoreMappings instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read an application.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| Application | an Application instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a paginated list of accounts that belong to an application.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a paginated list of accounts that belong to a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a paginated list of groups that belong to a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a group.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the group. | String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a paginated list of accounts that belong to a group.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the group. | String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read an existing password reset token.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 | ||
| The unique identifier of the password reset token. | String | */* | UTF-8 |
| Return Type | Description |
|---|---|
| PasswordResetToken | a PasswordResetToken instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a tenant.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
The unique identifier of the tenant or current for the currently
authenticated tenant. |
String | */* | UTF-8 |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Read a paginated list of applications that belong to a tenant.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
The unique identifier of the tenant (current is not a valid
value). |
String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Return Type | Description |
|---|---|
| Applications | an Applications instance. |
| Payload Class | Description |
|---|---|
| IOException | IOException if anything goes wrong with the operation. |
Read a paginated list of directories that belong to a tenant.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
The unique identifier of the tenant (current is not a valid
value). |
String | */* | UTF-8 | ||
| 0 | Optional. The zero-based starting index in the entire collection of the first item to return. | Integer | */* | ||
| 25 | Optional. The maximum number of collection items to return for a single request. | Integer | */* |
| Return Type | Description |
|---|---|
| Directories | a Directories instance. |
| Payload Class | Description |
|---|---|
| IOException | IOException if anything goes wrong with the operation. |
Update an account.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account. | String | */* | UTF-8 | ||
The Account to update. |
Account | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Update an account store mapping.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the account store mapping. | String | */* | UTF-8 | ||
An AccountStoreMapping instance that contains the fields
to update. |
AccountStoreMapping | */* |
| Return Type | Description |
|---|---|
| AccountStoreMapping | the updated AccountStoreMapping instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Update an application.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the application. | String | */* | UTF-8 | ||
The Application to update. |
Application | */* |
| Return Type | Description |
|---|---|
| Application | the updated Application instance. |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Update a directory.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the directory. | String | */* | UTF-8 | ||
The Directory to update. |
Directory | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Update a group.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
| The unique identifier of the group. | String | */* | UTF-8 | ||
The Group to update. |
Group | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |
Update a tenant.
INCLUDE_ERROR
| Name | Default Value | Description | Java Type | MIME Type | Encoding |
|---|---|---|---|---|---|
| Optional. Specify which configuration to use. | |||||
The unique identifier of the tenant (current is not a valid
value). |
String | */* | UTF-8 | ||
A Tenant instance. |
Tenant | */* |
| Payload Class | Description |
|---|---|
| IOException | if anything goes wrong with the operation. |