Kawai Wiki

Compare Revisions

Ignore whitespace Rev 181 → Rev 182

/trunk/src/main/java/org/kawai/AppManager.java
24,8 → 24,8
import org.mentawai.core.Context;
import org.mentawai.core.Filter;
import org.mentawai.core.Props;
import org.mentawai.db.BoneCPConnectionHandler;
import org.mentawai.db.ConnectionHandler;
import org.mentawai.db.mysql.MySQLBoneCPConnectionHandler;
import org.mentawai.filter.AuthenticationFilter;
import org.mentawai.filter.AuthorizationFilter;
import org.mentawai.filter.ExceptionFilter;
79,7 → 79,7
String user = props.getString("jdbc.user");
String pass = props.getString("jdbc.pass");
this.connHandler = new MySQLBoneCPConnectionHandler(driver, url, user, pass);
this.connHandler = new BoneCPConnectionHandler(driver, url, user, pass, "select username from Users limit 1");
}
@Override