@Override public boolean getNeedClientAuth() { return sock.getNeedClientAuth(); }
public boolean getNeedClientAuth() { return delegate.getNeedClientAuth(); }
private static ClientAuth getClientAuthStatus(SSLSocket sslSocket) { return sslSocket.getNeedClientAuth() ? ClientAuth.NEED : sslSocket.getWantClientAuth() ? ClientAuth.WANT : ClientAuth.NONE; }
return delegate.getNeedClientAuth();
return delegate.getNeedClientAuth();
return delegate.getNeedClientAuth();
/** * Returns a new SSLParameters based on this SSLSocket's current * cipher suites, protocols, and client authentication settings. * * @since 1.6 */ public SSLParameters getSSLParameters() { SSLParameters p = new SSLParameters(); p.setCipherSuites(getEnabledCipherSuites()); p.setProtocols(getEnabledProtocols()); p.setNeedClientAuth(getNeedClientAuth()); p.setWantClientAuth(getWantClientAuth()); return p; }
private javax.net.ssl.SSLParameters createSSLParameters(boolean supported) { try { SSLSocket s = (SSLSocket) engineGetSocketFactory().createSocket(); javax.net.ssl.SSLParameters p = new javax.net.ssl.SSLParameters(); String[] cipherSuites; String[] protocols; if (supported) { cipherSuites = s.getSupportedCipherSuites(); protocols = s.getSupportedProtocols(); } else { cipherSuites = s.getEnabledCipherSuites(); protocols = s.getEnabledProtocols(); } p.setCipherSuites(cipherSuites); p.setProtocols(protocols); p.setNeedClientAuth(s.getNeedClientAuth()); p.setWantClientAuth(s.getWantClientAuth()); return p; } catch (IOException e) { /* * SSLContext.getDefaultSSLParameters specifies to throw * UnsupportedOperationException if there is a problem getting the * parameters */ throw new UnsupportedOperationException("Could not access supported SSL parameters"); } } }
/** * Returns true if the socket will require client authentication. * When the underlying {@link Socket} is not an {@link SSLSocket} instance, returns false. * @return true - If the server mode socket should request * that the client authenticate itself. */ public boolean getNeedClientAuth() { if (_socket_ instanceof SSLSocket) { return ((SSLSocket)_socket_).getNeedClientAuth(); } return false; }
@Override public boolean getNeedClientAuth() { return sock.getNeedClientAuth(); }
@Override public boolean getNeedClientAuth() { return delegate.getNeedClientAuth(); }
/** * Returns true if the socket will require client authentication. * When the underlying {@link Socket} is not an {@link SSLSocket} instance, returns false. * @return true - If the server mode socket should request * that the client authenticate itself. */ public boolean getNeedClientAuth() { if (_socket_ instanceof SSLSocket) { return ((SSLSocket)_socket_).getNeedClientAuth(); } return false; }
/** * Indicates whether to require client authentication for this socket. * * @return {@code true} if client authentication is required, or * {@code false} if not. */ @Override() public boolean getNeedClientAuth() { return delegateSocket.getNeedClientAuth(); }
/** * Returns true if the socket will require client authentication. * When the underlying {@link Socket} is not an {@link SSLSocket} instance, returns false. * * @return true - If the server mode socket should request * that the client authenticate itself. */ public boolean getNeedClientAuth() { if (_socket_ instanceof SSLSocket) { return ((SSLSocket) _socket_).getNeedClientAuth(); } return false; }
@Override public boolean getNeedClientAuth() { return delegate.getNeedClientAuth(); }
/** * Returns true if the socket will require client authentication. * When a socket does not have a ssl socket, This return False. * @return true - If the server mode socket should request * that the client authenticate itself. */ public boolean getNeedClientAuth() { if (_socket_ instanceof SSLSocket) return ((SSLSocket)_socket_).getNeedClientAuth(); return false; }
/** * Indicates whether to require client authentication for this socket. * * @return {@code true} if client authentication is required, or * {@code false} if not. */ @Override() public boolean getNeedClientAuth() { return delegateSocket.getNeedClientAuth(); }
public boolean getNeedClientAuth() { return delegate.getNeedClientAuth(); }
@Override public boolean getNeedClientAuth() { return sock.getNeedClientAuth(); }
@Override public boolean getNeedClientAuth() { return getSecureSocketDelegate().getNeedClientAuth(); }