Tabnine Logo
SSLConnection.forSession
Code IndexAdd Tabnine to your IDE (free)

How to use
forSession
method
in
org.wildfly.security.ssl.SSLConnection

Best Java code snippets using org.wildfly.security.ssl.SSLConnection.forSession (Showing top 12 results out of 315)

origin: wildfly/wildfly

/**
 * Construct a new instance.
 *
 * @param delegate the delegate SASL client factory
 * @param sslSession supplier of the current SSLSession
 * @deprecated Use {@link #SSLSaslClientFactory(Supplier, SaslClientFactory)} to avoid problems where a TLS client is acting as a SASL server.
 */
public SSLSaslClientFactory(final SaslClientFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), true), delegate);
}
origin: wildfly/wildfly

/**
 * Construct a new instance.  The session connection is assumed to be in server mode.
 *
 * @param sslSession supplier for the current SSL session
 * @param delegate the delegate SASL server factory
 * @deprecated Use {@link #SSLSaslServerFactory(Supplier, SaslServerFactory)} to avoid problems where a TLS server is acting as a SASL client.
 */
@Deprecated
public SSLSaslServerFactory(final SaslServerFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), false), delegate);
}
origin: wildfly/wildfly

saslClientFactory = new SSLSaslClientFactory(() -> SSLConnection.forSession(sslSession, true), saslClientFactory);
origin: org.wildfly.security/wildfly-elytron

/**
 * Construct a new instance.
 *
 * @param delegate the delegate SASL client factory
 * @param sslSession supplier of the current SSLSession
 * @deprecated Use {@link #SSLSaslClientFactory(Supplier, SaslClientFactory)} to avoid problems where a TLS client is acting as a SASL server.
 */
public SSLSaslClientFactory(final SaslClientFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), true), delegate);
}
origin: org.wildfly.security/wildfly-elytron-sasl

/**
 * Construct a new instance.
 *
 * @param delegate the delegate SASL client factory
 * @param sslSession supplier of the current SSLSession
 * @deprecated Use {@link #SSLSaslClientFactory(Supplier, SaslClientFactory)} to avoid problems where a TLS client is acting as a SASL server.
 */
public SSLSaslClientFactory(final SaslClientFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), true), delegate);
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Construct a new instance.
 *
 * @param delegate the delegate SASL client factory
 * @param sslSession supplier of the current SSLSession
 * @deprecated Use {@link #SSLSaslClientFactory(Supplier, SaslClientFactory)} to avoid problems where a TLS client is acting as a SASL server.
 */
public SSLSaslClientFactory(final SaslClientFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), true), delegate);
}
origin: org.wildfly.security/wildfly-elytron

/**
 * Construct a new instance.  The session connection is assumed to be in server mode.
 *
 * @param sslSession supplier for the current SSL session
 * @param delegate the delegate SASL server factory
 * @deprecated Use {@link #SSLSaslServerFactory(Supplier, SaslServerFactory)} to avoid problems where a TLS server is acting as a SASL client.
 */
@Deprecated
public SSLSaslServerFactory(final SaslServerFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), false), delegate);
}
origin: org.wildfly.security/wildfly-elytron-sasl

/**
 * Construct a new instance.  The session connection is assumed to be in server mode.
 *
 * @param sslSession supplier for the current SSL session
 * @param delegate the delegate SASL server factory
 * @deprecated Use {@link #SSLSaslServerFactory(Supplier, SaslServerFactory)} to avoid problems where a TLS server is acting as a SASL client.
 */
@Deprecated
public SSLSaslServerFactory(final SaslServerFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), false), delegate);
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Construct a new instance.  The session connection is assumed to be in server mode.
 *
 * @param sslSession supplier for the current SSL session
 * @param delegate the delegate SASL server factory
 * @deprecated Use {@link #SSLSaslServerFactory(Supplier, SaslServerFactory)} to avoid problems where a TLS server is acting as a SASL client.
 */
@Deprecated
public SSLSaslServerFactory(final SaslServerFactory delegate, final Supplier<SSLSession> sslSession) {
  this(() -> SSLConnection.forSession(sslSession.get(), false), delegate);
}
origin: org.wildfly.security/wildfly-elytron

saslClientFactory = new SSLSaslClientFactory(() -> SSLConnection.forSession(sslSession, true), saslClientFactory);
origin: org.wildfly.security/wildfly-elytron-client

saslClientFactory = new SSLSaslClientFactory(() -> SSLConnection.forSession(sslSession, true), saslClientFactory);
origin: org.jboss.eap/wildfly-client-all

saslClientFactory = new SSLSaslClientFactory(() -> SSLConnection.forSession(sslSession, true), saslClientFactory);
org.wildfly.security.sslSSLConnectionforSession

Javadoc

Create a SSLConnection for the given SSL socket. Since no connection information will be available in this case, not all channel binding modes will be supported.

Popular methods of SSLConnection

  • getSession
    Get the SSL session associated with this connection.
  • handleChannelBindingCallback
    Populate the given channel binding callback with any channel binding data that might be present on t
  • getChannelBinding
    Get the channel binding of the given type from this connection. If the data is not present or the ty
  • isClientMode
    Get the client-mode flag for this connection.

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top 12 Jupyter Notebook extensions
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