If you just want to change few properties, you can get the sessionconfig
object and set the properties
IoSessionConfig sessionConfig = <your acceptor>.getSessionConfig();
sessionConfig.setIdleTime(IdleStatus.BOTH_IDLE, 10);
On Wed, Nov 28, 2012 at 10:20 PM, Wright, Omari <[email protected]>wrote:
> I am attempting to alter the pre-defined session configuration for Apache
> SSHD. I want to change the session timeouts and such but am not presently
> clear on how to create a new IoSessionConfig object to place into
> server.setSessionConfig(IoSessionConfig sessionConfig). Do I just create my
> own class which implements this interface or is there already one I can use?
>
> Also, is this the correct way to override values used in ServerSession?
>