[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

Marcos_APS do-not-reply at jboss.com
Thu May 31 15:33:53 EDT 2007


"PeterJ" wrote : See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103158

I don't want to use I DatabaseServerLoginModule provided by JBoss to do the authentication. I want to develop my own login module to connect with my database that already has a table with my users and the password encrypted (they're hashed too). So, I don't use the JBoss functions to hash the passwords.
What I just want to know is how I will make my custom login module aware of the username and password typed in the login web page that I will use. Do I have to use some standard name for the username and password input fields in the login web page for JBoss to pass them to my registered login module? Do they have to start with 'j_'? If so, what are the real names that I have to use?
I know that I have to tell the server what is the login page that I use and what authentication method that I want (FORM in my case), but I don't know how to tell it what are my username and password input fields. How do I proceed?

Thank you.

Marcos

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050289#4050289

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050289



More information about the jboss-user mailing list