Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6987173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:54:09+00:00 2026-05-27T18:54:09+00:00

I have currently created a form based login for JBoss portal server and my

  • 0

I have currently created a form based login for JBoss portal server and my login page looks like (served on HTTPS only):

<form action="j_security_check" method="post">
     Enter UserName: <input name="j_username" type="text" />

     Enter Password: <input name="j_password" type="password" />

     <input type="submit" value="Submit" /> <input type="reset" value="Reset" />
     </form>

During security testing of application, it was recommended to not send the password in plain text and instead have some MD5 or other encryption, so that no one can extract the password on intercepting the request.

How can I implement this in JBoss portal form based login?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:54:10+00:00Added an answer on May 27, 2026 at 6:54 pm

    You’ve gotten some bad advice here.

    Best standard practice is to send the password itself to the server, provided the link is SSL/TLS protected. Your application should receive that password, hash it (not using MD5 but a legitimate salted hash (or bcrypt, which is the best solution there)) and then compare it to the stored salted hash. Therefore, your application never stores user passwords, so if your password file/database got compromised, noone’s password would be exposed and, if you use a strong salted hash/bcrypt algorithm noone should be able to brute force the hash to recover the actual password.

    However, you need to do this on the SERVER side, within your application. Your application should take the password and do this hashing. If you hash the password on the client and send the actual salted hash to the application, you’re opening yourself up to a different attack. If someone did steal your password file/database, they would know the hash of a user’s password. If you have the client send the hash to the server, an attacker would then know exactly what hash to send and could access any user’s account! Instead you want the client to send the password itself and have the server generate the hash based on it, so the attacker would not know what to send in an attempt to log in as a user (since you cannot take a salted hash and recover the password from it, assuming a strong salted hash implementation).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a form based login in my application which is developed on
I have created a simple html-based web-page consisting of a form and some text,
Currently I have created a ABCFactory class that has a single method creating ABC
I currently have a thread that I created using CreateRemoteThread(). Everything works great. Upon
I currently have a (non commercial) application created in MS Visual C# 4.5, using
We currently have a tool on our website that is created by JavaScript. The
I have created an Eclipse plugin which creates a view in Eclipse. Currently it
I am currently trying to pass an array that I have created in Javascript
I am currently working on grails project. I have created eight different plugins. Each
Currently, I have a project with a Windows Service. I also created another Setup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.