XilongPei / Openparts

MIT License
3 stars 1 forks source link

TODO for release #44

Open XilongPei opened 6 years ago

XilongPei commented 6 years ago

class QueryDefinition: // TODO 正式发布时,请注释该行代码 instance.update();

XilongPei commented 6 years ago

add a common setting DEBUG_RUNNING commit: https://github.com/XilongPei/Openparts/commit/8fbedda15bec450827f274b3ebaf9f6748a8a8e6

XilongPei commented 6 years ago

DEBUG运行时,系统未检查密码的正确性。

public class SystemAuthorizingRealm extends AuthorizingRealm {
            if (!password.equals(user.getPassword()) && !CommonConstants.DEBUG_RUNNING) {
                throw new IncorrectCredentialsException();
            }