title: openam with database
body: <p>I have a requirement that openam should access users and groups from a MySQL database. In the openam GUI for New Data Store -> Database Repository (Early Access), I could see some configurations related to this. But I am not aware about how to map fields from two or three of MySQL tables (users and groups) to the corresponding attributes of openAM. Also what are the mandatory or optional fields for keeping user and group information? Somebody please point me to good documentation on this. </p>
  
  <p>Also I have a couple of basic queries.</p>
  
  <ol>
  <li>Is it possible to keep policy information in database? </li>
  <li>Is it possible to create users, groups and assign policy information from a web application deployed differently (through JSP / servlet). Does the OpenSSO APIs allows to do this.</li>
  </ol>
  
  <p>Thanks.</p>