You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by bi...@apache.org on 2020/04/15 16:10:14 UTC

[axis-axis2-java-rampart] 05/05: Avoid unnecessary code changes with respect to trunk.

This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch RAMPART-234
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git

commit 149e62d47fcfc6218738abc73400a0a3fc5dbbc3
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Sun Jan 29 15:32:11 2017 +0000

    Avoid unnecessary code changes with respect to trunk.
---
 .../rampart-core/src/main/java/org/apache/rampart/util/RampartUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rampart-core/src/main/java/org/apache/rampart/util/RampartUtil.java b/modules/rampart-core/src/main/java/org/apache/rampart/util/RampartUtil.java
index 0bfda53..30315e4 100644
--- a/modules/rampart-core/src/main/java/org/apache/rampart/util/RampartUtil.java
+++ b/modules/rampart-core/src/main/java/org/apache/rampart/util/RampartUtil.java
@@ -1872,7 +1872,7 @@ public class RampartUtil {
                 // verify client certificate used
                 // try to obtain the client certificate chain directly from the message context
                 // and then from the servlet request
-                if (((HttpsToken)rpd.getTransportToken()).isRequireClientCertificate()) {
+                if (((HttpsToken) rpd.getTransportToken()).isRequireClientCertificate()) {
                     Object certificateChainProperty = msgContext.getProperty(RampartConstants.HTTPS_CLIENT_CERT_KEY);
                     if (certificateChainProperty instanceof X509Certificate[]) {
                         // HTTPS client certificate chain found