Live data from Hacker News

Blade: a Java Web Framework

github.com

1–10 of 61 posts

Re: Blade: a Java Web Framework

#4
hmmm...

public User signin(String username, String password) {

    String pwd = EncrypKit.md5(username + password);

    return model.select().eq("username", username)

    .eq("password", pwd).fetchOne();

}

Re: Blade: a Java Web Framework

#8
post #4

hmmm... public User signin(String username, String password) { String pwd = EncrypKit.md5(username + password); return model.select().eq("username", username) .eq("password", pwd).fetchOne(); }

You mean: as framework creator you should make your documentation reflect the latest security standards right? Just to make sure.

Re: Blade: a Java Web Framework

#9
post #8
post #4

hmmm... public User signin(String username, String password) { String pwd = EncrypKit.md5(username + password); return model.select().eq("username", username) .eq("password", pwd).fetchOne(); }

You mean: as framework creator you should make your documentation reflect the latest security standards right? Just to make sure.

I think dodyg's point is more that someone using MD5 as a password hash is unlikely to have created a modern, secure, well-designed framework. If there's a problem as significant as poor password security then there's very likely to be other more subtle problems as well.

Re: Blade: a Java Web Framework

#10

I fail to see the difference with http://sparkjava.com We are using Spark four new code in our product and we are happy with it.

It would be the forever (especially in Javascript frameworks); why don't more people combine forces instead of doing their own thing? But then coders have opinions which do not fit the other frameworks (like they don't like the deps or coding style or usage patterns) and then they roll their own while the alternatives are perfectly fine for most.
Post reply on HN