@Test public void testConnect() throws Exception { assertNotNull(authentication.connect("username", "password")); }
public String connect(String username, String password) throws LoginException { return generateToken(username); }
AllowAllAuthentication extends Authentication { public String connect(String username, String password) throws LoginException { return generateToken(username); } }
AllowAllAuthentication extends Authentication { public String connect(String username, String password) throws LoginException { return generateToken(username); }  }
AllowAllAuthentication extends Authentication { public String connect(String username, String password) throws LoginException { return generateToken(username); }  String connect(String username, String password); boolean canSend(String token, String topic); boolean canSubscribe(String token, String topic); }
AllowAllAuthentication extends Authentication { public String connect(String username, String password) throws LoginException { return generateToken(username); }  String connect(String username, String password); boolean canSend(String token, String topic); boolean canSubscribe(String token, String topic);  }