directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From plusplusjia...@apache.org
Subject [26/27] directory-kerby git commit: Checkstyle fix
Date Thu, 07 Jul 2016 06:42:11 GMT
Checkstyle fix


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/ff14ab72
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/ff14ab72
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/ff14ab72

Branch: refs/heads/kpasswd
Commit: ff14ab72d51017ce52aa9118b25c0a211ca5fb84
Parents: 88a7c95
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Jul 6 11:51:34 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Jul 6 11:51:34 2016 +0100

----------------------------------------------------------------------
 .../kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/ff14ab72/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
index ffd59c0..f332e62 100644
--- a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
+++ b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
@@ -305,7 +305,7 @@ public class PkinitPreauth extends AbstractPreauthPlugin {
                 try {
                     List<java.security.cert.Certificate> loadedCerts = CertificateHelper.loadCerts(identity);
                     if (!loadedCerts.isEmpty()) {
-                        certificates.add((X509Certificate)loadedCerts.iterator().next());
+                        certificates.add((X509Certificate) loadedCerts.iterator().next());
                     }
                 } catch (KrbException e) {
                     LOG.warn("Error loading X.509 Certificate", e);


Mime
View raw message