Skip to content

Commit

Permalink
Merge pull request #1902 from Skyllarr/formatting-fix
Browse files Browse the repository at this point in the history
Fix formatting in blog Configuring the Digest mechanism to make use of additional algorithms
  • Loading branch information
fjuma committed May 16, 2023
2 parents be77cd5 + a840105 commit b75b66d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _posts/2023-05-15-specify-http-digest-algorithms.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ author: dvilkola

The default algorithm used for the digest authentication mechanism is MD5. You can configure the WildFly server to also require or accept the `SHA-256` and `SHA-512-256` algorithms. This configuration can be specified in the `mechanism-configuration` attribute of both the `http-authentication-factory` and the `sasl-authentication-factory`:

[source,xml,options="nowrap"]
[source,xml]
----
<http-authentication-factory name="exampleHttpAuthFactory" security-domain="exampleSD" http-server-mechanism-factory="global">
<mechanism-configuration>
Expand All @@ -21,9 +21,7 @@ The default algorithm used for the digest authentication mechanism is MD5. You c
</mechanism>
</mechanism-configuration>
</http-authentication-factory>
...
<sasl-authentication-factory name="exampleSaslAuthentication" security-domain="exampleSD" sasl-server-factory="configured">
<mechanism-configuration>
<mechanism mechanism-name="DIGEST-SHA-256">
Expand Down

0 comments on commit b75b66d

Please sign in to comment.