Skip to content

Instantly share code, notes, and snippets.

@nputnam
nputnam / gist:e96be6fd83f266de0b3a
Created April 6, 2015 17:29
Security Handler for Nifty
...
NiftySecurityHandlers niftySecurityHandlers = new NiftySecurityHandlers() {
@Override
public ChannelHandler getAuthenticationHandler() {
return noOpHandler;
}
@Override
public ChannelHandler getEncryptionHandler() {