Skip to main content
Skip table of contents

RequestedPolicyDispatcher

Fully qualified class name: org.signserver.module.tsa.RequestedPolicyDispatcher

Overview

Dispatches the time-stamp request to an other signer based on the requested TSA Policy according to an configured mapping table. This dispatcher can be useful if you want to have multiple signers (Timestamp Units) signing with different TSA policies but do not want the client to have to call different workers.

See also the DispatchedAuthorizer, which, if configured by a signer, can allow all requests that have gone through a Dispatcher.

Available Properties 

Property

Default

Description

DEFAULTWORKER 

None

Specifies the worker name or ID to dispatch to in the case that no policy was requested.

INCLUDESTATUSSTRING

True

(Optional) Specifies if the status string is to be included in the response. This setting only affects the behavior when USEDEFAULTIFMISMATCH is false, and there is no mapping for the requested policy. In case there is a mapping (or no mapping and USEDEFAULTIFMISMATCH is true), the state of INCLUDESTATUSSTRING of the used signer is used to determine if the status string is included.

Setting this to true triggers a bug in some versions of OpenJDK's jarsigner utility.

MAPPINGS 

None

Mapping from requested policy OID to a worker name. 

Example: 
POLICYOID1:WORKERNAMEORID1; POLICYOID2:WORKERNAMEORID2; POLICYOID3:WORKERNAMEORID3;

USEDEFAULTIFMISMATCH 

False

If true, this property dispatches to DEFAULTWORKER in the case that no mapping existed for the requested policy OID.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.