# ResourcePasswordDefinitionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
fetchStrategy | property AttributeFetchStrategyType | [0,1] |
compareStrategy | property PasswordCompareStrategyType | [0,1] | The way how an resource password is compared with the current password.
outbound | container MappingType | [0,-1] | Defines how the password value is constructed in case of information flow from IDM to the resource, e.
inbound | container MappingType | [0,-1] | Defines how user password is constructed if the user is created or updated from this account.
caching | container CachingPolicyType | [0,1] | Password caching policy.

- ### Items

  - #### fetchStrategy

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

  - #### compareStrategy

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    The way how an resource password is compared with the current password. This strategy is used when midPoint needs to compare candidate password with existing resource password. E.g. used in password policies that state that passwords on several resources cannot be the same.

  - #### outbound

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Defines how the password value is constructed in case of information flow from IDM to the resource, e.g. in case of provisioning.

  - #### inbound

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Defines how user password is constructed if the user is created or updated from this account. The "target" part of the assignment is implicitly set to user's password, therefore it may be omitted.

  - #### caching

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Password caching policy. Currently, password storage format (encrypted, hashed) will be the same as the global password storage format used for the entire system. Definition of a specific password storage format might be added later.