With the absence of a common User Source, SavaPage can act as Sync Source in PaperCut. Conversely, PaperCut can act as User Source for SavaPage. However, since PaperCut does not provide an API for User Authentication, in this case an extra shared Authentication Service is required.
With the absence of a common User Source, SavaPage can provide User Sync and Authentication Services for PaperCut.In this way Internal Users can be synchronized to and authenticated in PaperCut.
The interface is implemented as HTTP Basic Auth service. This interface can
easily be used in Python or Linux curl scripts. Sample
scripts for use in PaperCut Custom Sync are available in
/opt/savapage/server/examples/papercut/
Rate Limiting is applied to unauthorized access.
| Configuration property | Description |
|---|---|
|
ext.papercut.user.sync.enable |
Set to |
|
ext.papercut.user.sync.username |
Basic HTTP Authentication User name. |
|
ext.papercut.user.sync.password | Basic HTTP Authentication User password. |
|
ext.papercut.user.sync.ip-addresses-allowed |
The allowed client IP addresses as a CIDR Set. When void, not a single client is allowed. |
Table N.1. SavaPage as Sync Source in PaperCut: Configuration Properties
See Section 4.11.14, “Config Editor” on how to set these properties.
PaperCut can be set as User Source in
SavaPage by setting configuration property
custom.user-sync.papercut to Y. There
are three extra settings needed to make this work:
PaperCut Integration must be enabled, because a connection to the PaperCut Server (XML-RPC API) is needed to select the users that were synchronized by PaperCut from their User Source.
Because User Authentication is not part of the PaperCut API, authentication must be configured as OAuth Client Plug-in that connects to the same User Source configured in PaperCut.
User Source must be disabled by selecting the option. This will show PaperCut as User Source.
| Configuration property | Description |
|---|---|
|
custom.user-sync.papercut |
Set to |
|
custom.user-sync.papercut.user-card-number.first-byte |
NFC Card Number First Byte: |
|
custom.user-sync.papercut.user-card-number.format | NFC Card Number Format: DEC or
HEX (default). |
Table N.2. PaperCut as User Source in SavaPage: Configuration Properties
See Section 4.11.14, “Config Editor” on
how to set these properties.