Open XilongPei opened 6 years ago
add a common setting DEBUG_RUNNING commit: https://github.com/XilongPei/Openparts/commit/8fbedda15bec450827f274b3ebaf9f6748a8a8e6
DEBUG运行时,系统未检查密码的正确性。
public class SystemAuthorizingRealm extends AuthorizingRealm {
if (!password.equals(user.getPassword()) && !CommonConstants.DEBUG_RUNNING) {
throw new IncorrectCredentialsException();
}
class QueryDefinition: // TODO 正式发布时,请注释该行代码 instance.update();