public void setPreferredJwsAlgorithmAsString(final String preferredJwsAlgorithm) {
        this.preferredJwsAlgorithm = JWSAlgorithm.parse(preferredJwsAlgorithm);
    }
<p>setPreferredJwsAlgorithmAsString.</p>

@param preferredJwsAlgorithm a {@link String} object
pac4j-oidc/src/main/java/org/pac4j/oidc/config/OidcConfiguration.java