org.mortbay.jetty.security
Class SslHttpChannelEndPoint
java.lang.Object
org.mortbay.io.nio.ChannelEndPoint
org.mortbay.io.nio.SelectChannelEndPoint
org.mortbay.jetty.nio.SelectChannelConnector.ConnectorEndPoint
org.mortbay.jetty.security.SslHttpChannelEndPoint
- All Implemented Interfaces:
- java.lang.Runnable, EndPoint
public class SslHttpChannelEndPoint
- extends SelectChannelConnector.ConnectorEndPoint
- implements java.lang.Runnable
SslHttpChannelEndPoint.
- Author:
- Nik Gonzalez , Greg Wilkins
|
Field Summary |
protected javax.net.ssl.SSLSession |
_session
|
| Methods inherited from class org.mortbay.io.nio.SelectChannelEndPoint |
blockReadable, blockWritable, cancelIdle, dispatch, getConnection, getSelectSet, getTimeoutTask, run, scheduleIdle, scheduleWrite, setWritable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
_session
protected javax.net.ssl.SSLSession _session
SslHttpChannelEndPoint
public SslHttpChannelEndPoint(Buffers buffers,
java.nio.channels.SocketChannel channel,
SelectorManager.SelectSet selectSet,
java.nio.channels.SelectionKey key,
javax.net.ssl.SSLEngine engine)
throws javax.net.ssl.SSLException,
java.io.IOException
- Throws:
javax.net.ssl.SSLException
java.io.IOException
isAllowRenegotiate
public boolean isAllowRenegotiate()
- Returns:
- True if SSL re-negotiation is allowed (default false)
setAllowRenegotiate
public void setAllowRenegotiate(boolean allowRenegotiate)
- Set if SSL re-negotiation is allowed. CVE-2009-3555 discovered
a vulnerability in SSL/TLS with re-negotiation. If your JVM
does not have CVE-2009-3555 fixed, then re-negotiation should
not be allowed.
- Parameters:
allowRenegotiate - true if re-negotiation is allowed (default false)
dump
public void dump()
idleExpired
protected void idleExpired()
- Overrides:
idleExpired in class SelectChannelEndPoint
doIdleExpired
protected void doIdleExpired()
shutdownOutput
public void shutdownOutput()
throws java.io.IOException
- Specified by:
shutdownOutput in interface EndPoint- Overrides:
shutdownOutput in class ChannelEndPoint
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface EndPoint- Overrides:
close in class SelectChannelConnector.ConnectorEndPoint
- Throws:
java.io.IOException
fill
public int fill(Buffer buffer)
throws java.io.IOException
- Specified by:
fill in interface EndPoint- Overrides:
fill in class ChannelEndPoint
- Throws:
java.io.IOException
flush
public int flush(Buffer buffer)
throws java.io.IOException
- Specified by:
flush in interface EndPoint- Overrides:
flush in class SelectChannelEndPoint
- Throws:
java.io.IOException
flush
public int flush(Buffer header,
Buffer buffer,
Buffer trailer)
throws java.io.IOException
- Specified by:
flush in interface EndPoint- Overrides:
flush in class SelectChannelEndPoint
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface EndPoint- Overrides:
flush in class ChannelEndPoint
- Throws:
java.io.IOException
isBufferingInput
public boolean isBufferingInput()
- Specified by:
isBufferingInput in interface EndPoint- Overrides:
isBufferingInput in class ChannelEndPoint
isBufferingOutput
public boolean isBufferingOutput()
- Specified by:
isBufferingOutput in interface EndPoint- Overrides:
isBufferingOutput in class ChannelEndPoint
isBufferred
public boolean isBufferred()
- Specified by:
isBufferred in interface EndPoint- Overrides:
isBufferred in class ChannelEndPoint
getSSLEngine
public javax.net.ssl.SSLEngine getSSLEngine()
toString
public java.lang.String toString()
- Overrides:
toString in class SelectChannelEndPoint
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.