diff options
Diffstat (limited to 'java/vaadin-u2f/src')
-rw-r--r-- | java/vaadin-u2f/src/run/java/ch/asynk/Main.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/vaadin-u2f/src/run/java/ch/asynk/Main.java b/java/vaadin-u2f/src/run/java/ch/asynk/Main.java index f6dfc4e..87a84d9 100644 --- a/java/vaadin-u2f/src/run/java/ch/asynk/Main.java +++ b/java/vaadin-u2f/src/run/java/ch/asynk/Main.java @@ -68,7 +68,7 @@ abstract class VaadinJettyServer extends Server HttpConfiguration httpConf = new HttpConfiguration(); httpConf.addCustomizer(new SecureRequestCustomizer()); - SslContextFactory sslContextFactory = new SslContextFactory(); + SslContextFactory.Client sslContextFactory = new SslContextFactory.Client(); // keytool -keystore src/run/resources/keystore.jks -genkey -alias asynk.ch -keyalg RSA -keysize 2048 sslContextFactory.setKeyStorePath(VaadinJettyServer.class.getResource("/keystore.jks").toExternalForm()); sslContextFactory.setKeyStorePassword("123456"); @@ -121,6 +121,8 @@ public class Main { public static void main(String[] args) throws Exception { + System.err.println("!!! U2F has been superseded by Web Authentication !!!"); + System.err.println(" --> https://github.com/Yubico/java-webauthn-server/\n"); int port = 8666; String webRoot = System.getProperty("WEBROOT"); if (webRoot == null) webRoot = "./src/main/WebContent"; |