Report question

Question: Authenticating the username, password by using filters in Java (contacting with database)