Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » password with salt
password with salt [message #899529] Wed, 01 August 2012 06:13 Go to previous message
Bertin Kiekebosch is currently offline Bertin Kiekebosch
Messages: 223
Registered: August 2011
Senior Member
Hi,

we are using DataSourceSecurityFilter for authentication. We want to add salt to the passwords. Now on login I need to change the way the password is checked by the DataSourceSecurityFilter because the simple select statement (org.eclipse.scout.rt.server.servlet.filter.DataSourceSecurityFilter#selectUserPass=SELECT name FROM account WHERE name=? and password=?
) is not enough anymore

I planned to make a new class that inherits form DataSourceSecurityFilter and then override protected boolean isValidUser(String username, String password) method.

And then register my new class as an extension (servletfilter.filters)

Is this the way to do it?


Regards Bertin






 
Read Message
Read Message
Read Message
Read Message icon7.gif
Previous Topic:Form Generator based on DB Table layout
Next Topic:Label Position for AbstractBooleanField
Goto Forum:
  


Current Time: Sat May 18 20:46:13 EDT 2013

Powered by FUDForum. Page generated in 0.01560 seconds