title: How to use Liferay authentication for external web app using email/password
body: <p>I have another web app, that uses the liferay user database. But before a user can access this website he needs be authenticated first. How can I achieve this functionality, I've tried searching the WS api for authentication using email/password, but found none.</p>
  
  <p>Also the user should still be able to login to the liferay portal. And the login should be like another liferay web service.</p>
  
  <p>Any hints?</p>
  
  <p>Hmm, since I have access to the database maybe 1 way is to hash the password given by the client? and validate against the values stored in the database.</p>
  
  <p>Found out that PwdEncryptor class is the one responsible for encrypting the password, unfortunately it has too many dependencies with liferay that I'm unable to pull it out :-?</p>
  
  <p>Thanks</p>