Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wiser = new Wiser();
- UsernamePasswordValidator validator = new MyValidator();
- EasyAuthenticationHandlerFactory authenticator = new EasyAuthenticationHandlerFactory(validator);
- wiser.getServer().setAuthenticationHandlerFactory(authenticator );
- wiser.setPort(25);
- wiser.start();
Add Comment
Please, Sign In to add comment