Skip to main content

Properties

To enable Extended JWS Authorizer for the worker, use the following class:

AUTHTYPE=com.czertainly.signserver.module.extendedjws.ExtendedJwsAuthorizer

The following properties are available to be configured:

PropertyDescriptionDefault ValueMandatory
SERVER.N.ISSUERIssuer of the JWS. It must match the iss claim contained in the JWS. Several authorization servers can be configured based on the number N that links different authorization servers configurations.NONEYES
SERVER.N.PUBLICKEYBase64 encoded associated public key with the authorization server that is used to validate JWS signature. The public key is matched with the issuer based on the number N.NONEYES
SERVER.N.KEYALGORITHMPublic key algorithm. The algorithm is matched with the associated public key based on the number N. Currently supported algorithms are:
  • RSA
  • ECDSA
RSANO
SERVER.N.DESCRIPTIONDescription of authorization server for identification.NONO
JWS.N.CLAIM.NAMEDefines the claim name that must be present in the JWS for authorization. When the claim name is not available, user is unauthorized.NONEMust be present when JWS.N.CLAIM.VALUE is present.
JWS.N.CLAIM.VALUEValue of the associated claim name that must match. If the value of the claim does not match, user is unauthorized.NONEMust be present when JWS.N.CLAIM.NAME is present.
MAX_ALLOWED_CLOCK_SCEWSets the amount of clock skew in seconds to tolerate when verifying the local time against the exp and nbf claims in JWS. The value in seconds.300NO
ACCEPTED_AUDIENCESComma separated list of accepted audiences that are checked against the intended audiences from the claim of the JWS. If the JWS has an audience, it must match a one of the audience configured, otherwise the user is not authorized.NONENO
CLAIMS_TO_CONTEXTWhen true, all claims from the JWS are added into the RequestContext and can be used further in the signing process.falseNO