private SSLAuthenticator getSSLAuthenticator() { if (this.sslAuthenticator == null) { this.sslAuthenticator = new SSLAuthenticator() { @Override public Valve getNext() { return new ValveBase() { @Override public void invoke(Request request, Response response) throws IOException, ServletException { // no-op } }; } }; this.sslAuthenticator.setContainer(getContainer()); try { this.sslAuthenticator.start(); } catch (LifecycleException e) { throw new RuntimeException("Error starting SSL authenticator.", e); } } return this.sslAuthenticator; }
private SSLAuthenticator getSSLAuthenticator() { if (this.sslAuthenticator == null) { this.sslAuthenticator = new SSLAuthenticator() { @Override public Valve getNext() { return new ValveBase() { @Override public void invoke(Request request, Response response) throws IOException, ServletException { // no-op } }; } }; this.sslAuthenticator.setContainer(getContainer()); try { this.sslAuthenticator.start(); } catch (LifecycleException e) { throw new RuntimeException("Error starting SSL authenticator.", e); } } return this.sslAuthenticator; }
private SSLAuthenticator getSSLAuthenticator() { if (this.sslAuthenticator == null) { this.sslAuthenticator = new SSLAuthenticator() { @Override public Valve getNext() { return new ValveBase() { @Override public void invoke(Request request, Response response) throws IOException, ServletException { // no-op } }; } }; this.sslAuthenticator.setContainer(getContainer()); try { this.sslAuthenticator.start(); } catch (LifecycleException e) { throw new RuntimeException("Error starting SSL authenticator.", e); } } return this.sslAuthenticator; }