# Password Management - Apache Syncope

Source: https://apereo.github.io/cas/development/password_management/Password-Management-ApacheSyncope.html

CAS support handling password management operations via [Apache Syncope](https://syncope.apache.org/). This is done by using Syncope REST APIs. Support includes the ability to change passwords voluntarily, or forcefully as part of the authentication process.

The following settings and properties are available from the CAS configuration catalog:

- `cas.authn.pm.syncope.basic-auth-password` (Required; type `String`): Specify the password for REST authentication.
- `cas.authn.pm.syncope.basic-auth-username` (Required; type `String`): Specify the username for REST authentication.
- `cas.authn.pm.syncope.domain` (Required; type `String`; default `Master`): Syncope domain used for authentication, etc. Multiple domains can be separated via comma. Each domain entry results in a separate authentication attempt and transaction by CAS.
- `cas.authn.pm.syncope.search-filter` (Required; type `String`; default `username=={user}`): User FIQL filter to use for searching. Syntax is `username=={user}` or `username=={0}`.
- `cas.authn.pm.syncope.url` (Required; type `String`): Syncope instance URL primary used for REST.
- `cas.authn.pm.syncope.attribute-mappings` (Optional; type `Map<String,String>`): Map of attributes that optionally may be used to control the names of the collected attributes from Syncope. If an attribute is provided by Syncope, it can be listed here as the key of the map with a value that should be the name of that attribute as collected and recorded by CAS. For example, the convention `lastLoginDate->lastDate` will process the Syncope attribute `lastLoginDate` and will internally rename that to `lastDate`. If no mapping is specified, CAS defaults will be used instead.
- `cas.authn.pm.syncope.headers` (Optional; type `Map<String,String>`): Headers, defined as a Map, to include in the request when making the REST call. Will overwrite any header that CAS is pre-defined to send and include in the request. Key in the map should be the header name and the value in the map should be the header value.
