...
Different derivatives of the PrincipalProvider class can be initialized differently, either through credential files, information sent via HTTP header, or by connecting to external information sources such as LDAP.
Warning |
---|
The container roles provider and header provider should not be used at the same time, and doing so will lead to undefined results. |
Configuration
Container Roles Principal Provider
...
DelegateHeaderPrincipalProvider is a Principal Provider that uses the On-Behalf-Of
HTTP header to switch the user principal to the principal given in the header. This switch is only performed if the authenticated user has the fedoraAdmin container role.
...
language | xml |
---|---|
title | Spring bean configuration |
...
This provider is enabled by default. To disable it, set fcrepo.auth.
...
principal.delegate.enabled
to false
.