Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELY-1286] Rename the "tls-server-endpoint" channel binding type to "tls-server-end-point" to match the IANA channel binding type registry #912

Merged
merged 1 commit into from Jul 17, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -30,13 +30,13 @@
import org.wildfly.security.auth.callback.ChannelBindingCallback;

/**
* Utilities for handling the "tls-server-endpoint" channel binding strategy used by various types
* Utilities for handling the "tls-server-end-point" channel binding strategy used by various types
* of authentication mechanisms.
*
* @author <a href="mailto:david.lloyd@redhat.com">David M. Lloyd</a>
*/
public final class TLSServerEndPointChannelBinding {
public static final String TLS_SERVER_ENDPOINT = "tls-server-endpoint";
public static final String TLS_SERVER_ENDPOINT = "tls-server-end-point";

private TLSServerEndPointChannelBinding() {}

Expand Down Expand Up @@ -82,7 +82,7 @@ public static String getDigestAlgorithm(final String sigAlgOID) {
*/
public static void handleChannelBindingCallback(ChannelBindingCallback channelBindingCallback, X509Certificate[] serverCerts) throws UnsupportedCallbackException {
if (serverCerts != null && serverCerts.length > 0) {
// tls-server-endpoint
// tls-server-end-point
final X509Certificate serverCert = serverCerts[0];
final String digestAlgorithm = TLSServerEndPointChannelBinding.getDigestAlgorithm(serverCert.getSigAlgOID());
if (digestAlgorithm != null) try {
Expand Down