Tag Archives: authentication

Quick tip: upgrade a legacy password storage scheme

This one’s a Spring Security quick tip that I wanted to share. Suppose that you have a password storage scheme that stores passwords as plaintext, and you want to upgrade that to storing hashes. No problem; simply replace the plaintext … Continue reading

Posted in Chapter 06 - Authentication, Quick Tips | Tagged , , , , | Leave a comment

Hashing and salting passwords with Spring Security 2

This post was originally written as a recipe for our book Spring in Practice, but we just didn’t have enough room to include it. It’s still (we think, anyway) a great recipe, so we’re making it available here free of … Continue reading

Posted in Chapter 06 - Authentication, Tutorials | Tagged , , , , , | 15 Comments

We’ve been MEAPed – chapters 4 & 5 available

We’re very excited to announce that we’ve been MEAPed. :-) MEAP is the Manning Early Access Program. MEAP allows you to buy the book before it’s actually done so you can start getting at the content as it becomes available. … Continue reading

Posted in News | Tagged , , , | 1 Comment

Storing passwords securely

When dealing with user account information, there are lots of different security concerns that come up. Some examples include making sure users use strong passwords, preventing automated registrations, helping end users distinguish real sites from phishing sites, transmitting user data … Continue reading

Posted in Chapter 06 - Authentication, Tutorials | Tagged , , , , , | 12 Comments

Setting up public key authentication (PKA) over SSH

I assume you already know the whys, concepts, and terminology; this is just a statement of the steps involved. I’m using OpenSSH and a DSA key pair. Step 1 Generate a key pair: ssh-keygen -t dsa Generating public/private dsa key … Continue reading

Posted in Quick Tips | Tagged , , , | Leave a comment