Tabnine Logo
SSLImplementation.getSSLSupport
Code IndexAdd Tabnine to your IDE (free)

How to use
getSSLSupport
method
in
org.apache.tomcat.util.net.SSLImplementation

Best Java code snippets using org.apache.tomcat.util.net.SSLImplementation.getSSLSupport (Showing top 17 results out of 315)

origin: codefollower/Tomcat-Research

@Override
protected void initSsl(SocketWrapper<Socket> socket,
    Processor<Socket> processor) {
  if (proto.isSSLEnabled() && (proto.sslImplementation != null)) {
    processor.setSslSupport(
        proto.sslImplementation.getSSLSupport(
            socket.getSocket()));
  } else {
    processor.setSslSupport(null);
  }
}
origin: org.glassfish.metro/webservices-extra

/**
 * Process pipelined HTTP requests using the specified input and output
 * streams.
 * 
 * @param input stream from which the HTTP requests will be read
 * @param output stream which will be used to output the HTTP
 * responses
 * @return true is an error occured.
 * @throws Exception error during an I/O operation
 */
@Override
public boolean process(InputStream input, OutputStream output)
    throws Exception {
  preProcess(input,output);            
  if (sslImplementation != null) {
    sslSupport = sslImplementation.getSSLSupport(socket);
  }        
  doProcess(input,output);
  postProcess(input,output);
  return keepAlive;
}

origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * {@inheritDoc}
 * @param clientCertProvider Ignored for this implementation
 */
@Override
public SSLSupport getSslSupport(String clientCertProvider) {
  if (getSocket() instanceof SecureNio2Channel) {
    SecureNio2Channel ch = (SecureNio2Channel) getSocket();
    SSLSession session = ch.getSslEngine().getSession();
    return ((Nio2Endpoint) getEndpoint()).getSslImplementation().getSSLSupport(session);
  } else {
    return null;
  }
}
origin: org.apache.geronimo.ext.tomcat/catalina

@Override
protected void initSsl(SocketWrapper<Socket> socket,
    Processor<Socket> processor) {
  if (proto.isSSLEnabled() && (proto.sslImplementation != null)) {
    processor.setSslSupport(
        proto.sslImplementation.getSSLSupport(
            socket.getSocket()));
  } else {
    processor.setSslSupport(null);
  }
}
origin: org.apache.coyote/com.springsource.org.apache.coyote

@Override
protected void initSsl(SocketWrapper<Socket> socket,
    Http11Processor processor) {
  if (proto.isSSLEnabled() && (proto.sslImplementation != null)) {
    processor.setSSLSupport(
        proto.sslImplementation.getSSLSupport(
            socket.getSocket()));
  } else {
    processor.setSSLSupport(null);
  }
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * {@inheritDoc}
 * @param clientCertProvider Ignored for this implementation
 */
@Override
public SSLSupport getSslSupport(String clientCertProvider) {
  if (getSocket() instanceof SecureNioChannel) {
    SecureNioChannel ch = (SecureNioChannel) getSocket();
    SSLSession session = ch.getSslEngine().getSession();
    return ((NioEndpoint) getEndpoint()).getSslImplementation().getSSLSupport(session);
  } else {
    return null;
  }
}
origin: org.apache.coyote/com.springsource.org.apache.coyote

@Override
protected void initSsl(SocketWrapper<NioChannel> socket,
    Http11NioProcessor processor) {
  if (proto.isSSLEnabled() &&
      (proto.sslImplementation != null)
      && (socket.getSocket() instanceof SecureNioChannel)) {
    SecureNioChannel ch = (SecureNioChannel)socket.getSocket();
    processor.setSslSupport(
        proto.sslImplementation.getSSLSupport(
            ch.getSslEngine().getSession()));
  } else {
    processor.setSslSupport(null);
  }
}
origin: codefollower/Tomcat-Research

@Override
protected void initSsl(SocketWrapper<NioChannel> socket,
    Processor<NioChannel> processor) {
  if (proto.isSSLEnabled() &&
      (proto.sslImplementation != null)
      && (socket.getSocket() instanceof SecureNioChannel)) {
    SecureNioChannel ch = (SecureNioChannel)socket.getSocket();
    processor.setSslSupport(
        proto.sslImplementation.getSSLSupport(
            ch.getSslEngine().getSession()));
  } else {
    processor.setSslSupport(null);
  }
}
origin: org.apache.geronimo.ext.tomcat/catalina

@Override
protected void initSsl(SocketWrapper<NioChannel> socket,
    Processor<NioChannel> processor) {
  if (proto.isSSLEnabled() &&
      (proto.sslImplementation != null)
      && (socket.getSocket() instanceof SecureNioChannel)) {
    SecureNioChannel ch = (SecureNioChannel)socket.getSocket();
    processor.setSslSupport(
        proto.sslImplementation.getSSLSupport(
            ch.getSslEngine().getSession()));
  } else {
    processor.setSslSupport(null);
  }
}
origin: jboss.web/jbossweb

    (proto.sslImplementation.getSSLSupport(socket));
} else {
  processor.setSSLSupport(null);
origin: org.glassfish.metro/webservices-extra

/**
 * Configure the <code>SSLProcessorTask</code>.
 */
@Override
protected void configureProcessorTask(){
  super.configureProcessorTask();
  SSLSupport sslSupport = sslImplementation.getSSLSupport(sslEngine);
  ((SSLProcessorTask)processorTask).setSSLSupport(sslSupport);
  ((SSLProcessorTask)processorTask).setSslReadTask(this);
  SecureOuputBuffer secureOutputBuffer = ((SSLProcessorTask) processorTask).getSecureOutputBuffer();
  if (secureOutputBuffer == null) {
    processorTask.initialize();
    secureOutputBuffer = ((SSLProcessorTask) processorTask).getSecureOutputBuffer();
  }
  secureOutputBuffer.setSSLEngine(sslEngine);
  secureOutputBuffer.setOutputBB(outputBB);
}

origin: com.ovea.tajin.server/tajin-server-tomcat7

      proto.sslImplementation.getSSLSupport(
          socket.getSocket()));
} else {
origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

    (proto.sslImplementation.getSSLSupport(socket));
} else {
  processor.setSSLSupport(null);
origin: com.ovea.tajin.server/tajin-server-tomcat7

  SecureNioChannel ch = (SecureNioChannel)socket;
  processor.setSslSupport(
      proto.sslImplementation.getSSLSupport(
          ch.getSslEngine().getSession()));
} else {
origin: org.apache.coyote/com.springsource.org.apache.coyote

  sslChannel.rehandshake(endpoint.getSoTimeout());
  sslSupport = ((NioEndpoint)endpoint).getHandler()
      .getSslImplementation().getSSLSupport(
          engine.getSession());
} catch (IOException ioe) {
origin: org.apache.geronimo.ext.tomcat/catalina

  sslChannel.rehandshake(endpoint.getSoTimeout());
  sslSupport = ((NioEndpoint)endpoint).getHandler()
      .getSslImplementation().getSSLSupport(
          engine.getSession());
} catch (IOException ioe) {
origin: codefollower/Tomcat-Research

  sslChannel.rehandshake(endpoint.getSoTimeout());
  sslSupport = ((NioEndpoint)endpoint).getHandler()
      .getSslImplementation().getSSLSupport(
          engine.getSession());
} catch (IOException ioe) {
org.apache.tomcat.util.netSSLImplementationgetSSLSupport

Popular methods of SSLImplementation

  • getInstance
    Obtain an instance (not a singleton) of the implementation with the given class name.
  • getServerSocketFactory
  • getSSLUtil
  • isAlpnSupported

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now