In my application a user is identified by 2 columns:
client
username

So I need a custom loadUserByUsername method. Is that possible?

As a workaround I got three input fields in my login.jsp with ids:
j_mandt
j_usernamex
j_password

onSubmit is concatenate j_username to
j_mandt + ":" + j_usernamex

And in loadUserByUsername I split the string again.

Can you suggest another solution?

Thanks
René