FileDocCategorySizeDatePackage
SecureSelector.javaAPI DocGlassfish v2 API4629Fri May 04 22:37:06 BST 2007com.sun.enterprise.web.connector.grizzly

SecureSelector

public interface SecureSelector
Non blocking SSL interface secure instance of SelectorThread must implement.
author
Jeanfrancois Arcand

Fields Summary
Constructors Summary
Methods Summary
public java.lang.String[]getEnabledCipherSuites()
Returns the list of cipher suites to be enabled when {@link SSLEngine} is initialized.

return
null means 'use {@link SSLEngine}'s default.'

public java.lang.String[]getEnabledProtocols()
Returns the list of protocols to be enabled when {@link SSLEngine} is initialized.

return
null means 'use {@link SSLEngine}'s default.'

public org.apache.tomcat.util.net.ServerSocketFactorygetServerSocketFactory()
Return the ServerSocketFactory used when a blocking IO is enabled.

public booleanisClientMode()
Returns true if the SSlEngine is set to use client mode when handshaking.

public booleanisNeedClientAuth()
Returns true if the SSLEngine will require client authentication.

public booleanisWantClientAuth()
Returns true if the engine will request client authentication.

public voidsetClientMode(boolean clientMode)
Configures the engine to use client (or server) mode when handshaking.

public voidsetEnabledCipherSuites(java.lang.String[] enabledCipherSuites)
Sets the list of cipher suites to be enabled when {@link SSLEngine} is initialized.

param
cipherSuites null means 'use {@link SSLEngine}'s default.'

public voidsetEnabledProtocols(java.lang.String[] enabledProtocols)
Sets the list of protocols to be enabled when {@link SSLEngine} is initialized.

param
protocols null means 'use {@link SSLEngine}'s default.'

public voidsetNeedClientAuth(boolean needClientAuth)
Configures the engine to require client authentication.

public voidsetSSLImplementation(E sslImplementation)

public voidsetServerSocketFactory(org.apache.tomcat.util.net.ServerSocketFactory factory)
Set the ServerSocketFactory used when a blocking IO is enabled.

public voidsetWantClientAuth(boolean wantClientAuth)
Configures the engine to request client authentication.